Why do we close too localized questions? If there aren't a bunch of random answers or flaming happening in the comments why bother closing it?
I think that is because that particular question is not going to help anyone else apart from the person who asked the question.
These are type of questions, whose answers would have easily got by a bit of googling itself. Probably OP is trying to get others to fix his code than putting any effort on that.
Closing these questions will also make sure that quality questions are asked here. That will make the OP think before posting such silly questions again which shows no effort at all from his part.
Because we don't think it will be helpful to anyone else.
It could be a misspelled function name or a missing semicolon. What are the odds that anyone else would come looking for exactly the same problem?
And we definitely don't need anymore answers pointing out the obvious.
The next step is to consider if it should be deleted as well.