I checked my server error logs and all I see is hundreds of lines that all have:
PHP Notice: Undefined variable $x in test.php on line 1
My test.php script is:
<?php
if ($x)
print ($x)
?>
This seems pretty silly to me. I'm guessing that these PHP notices are being captured because of a setting in my server php.ini file.
Anyone know which setting or Directive might make these notices appear on the server error log? I would like to only see warnings or fatal errors, not these notices.
A larger problem is that my webhost has been having difficulty with their error logging program. Sometimes if anything is wrote to the error log, it crashes the script. Like the above script would get a 500 error because it tries to write the PHP Notice:.
Anyone have an idea?