Post your goddamn code
So, here's the thing: If you want help with your code, post the goddamn code! Any by that I mean post much more code than you think is necessary. Don't be stingy, just post the goddamn code. It's not that hard.
Some basic rules for posting code:
Use a service like Gist.
There are others, but Gist allows you to post several files at once, which you will have to do.
Paste entire files
Don't think you know what parts of your code is relevant, because you probably don't. And even if you do manage to guess it, chances are the source of your problem lies somewhere else. Usually, to find the source of a problem, one must follow the stacktrace up a few levels, and then you're likely to end up in a different file altogether. And the line number in the stacktrace must correspond with the correct line in the pasted file, which it doesn't unless you paste all of it.
Paste the stacktrace
All of it, not just the top part.
Paste all relevant files
In their entirety. If you think something might be relevant, paste it. Don't be a code scrooge, it doesn't cost you anything. It's not like you're going to paste some super secret code that runs a nuclear plant. Nobody wants to steal the code to your shitty Groupon clone that doesn't even work (that's why you're asking for help, remember?).
The code you're having problems with has variables. We need to know where those come from and what type they are. If they're from a class you wrote, paste that file.
If your code deals with data, paste the data. Whether it be JSON from a Web service, an XML configuration file or a CSV customer list, just paste it.
Drop the attitude
Some people seem to think that being asked to provide more information in order to get help is an attack on their pride. WTF? Nobody gives a shit, we just want to help you figure out what the problem is, and to do that we need information. It's not complicated. So do yourself and everyone else a favor and just post the goddamn code. If getting the necessary information is like pulling teeth, chances are nobody's going to bother in the first place.
Thinking you know better than those you're asking to help you is rude, and it's not going to get you anywhere.