There is a close reason under offtopic that states:
This question was caused by a problem that can no longer be reproduced or a simple typographical error. While similar questions may be on-topic here, this one was resolved in a manner unlikely to help future readers. This can often be avoided by identifying and closely inspecting the shortest program necessary to reproduce the problem before posting.
If the fix was unrelated to the information posted in the question, then that would quite plausibly fit your situation. Just explain the situation briefly in comments and flag the question for closure for that reason.
On the other hand, if your fix was something that someone else could have arrived at, and that others with the same problems described in your question would benefit from getting the same solution, then write up what you did in an answer.