It's in the Error Log Stupid

When getting frustrated by code that should work, remember to look at the error log, it may help you avoid losing an hour and a half (or more) of your life to a simple problem.Trust me on this.