this post might help:
once you’ve turned on the error reporting the error will change to a meaninful error that you can fix