Ajax pages

Oops, sorry to cause confusion.
I have that in my “PHP template” file that I use when developing code and left it in the example because I’m not in the habit of removing it until I’m done working up script and move it to live and forgot to not include it in the quick copy / paste to here.

Best to not have it in any live files, much better to have a custom error handler log or email you errors instead. You want to not show error messages to site visitors.