I suggest you comment out the error handler and then run it for that user to find out the actual error line.

Thanks for correcting the post by the way.