I'll admit that I'm NOT a php expert, however I have learned a thing or two after messing around with several php scripts.
One of the things I've learned is that when I get an error msg. I should take note of what line it is referring to, and try to see if I have made any recent modifications to either that line or another file that might be associated with it.
If you're new to php I recommend you keep this in mind as it will save you some headaches as sometimes the error can go away if you simply remove the offending issue in the line given, and minor errors often occur when you add in an extra character or don't escape the line properly.
I hope this helps someone as it sure helped me
