Once I "learned" for a condition in which you have a specific solution of a problem, but you are only thinking of it and do not realize there are other / probably more appropriate / solutions. Something like.. being stuck to an attempt of a solution.
So there was a name for it. But google results for tokens such as "Problem Solving Disease" lead me to nothing related.