PHP 5.3 complaining ...
Is this after a fresh install? Doesn't happen for me (PHP 5.3.6) but possibly some difference in your PHP configuration.
Hi, no, it is not a fresh install of Drupal if this is what you mean. How can I discover what's the difference in PHP configuration?
In default configuration, PHP would not display this error message - http://php.net/manual/en/function.error-reporting.php -
// Report all errors except E_NOTICE // This is the default value set in php.ini error_reporting(E_ALL ^ E_NOTICE);
So, one way to stop this message from being displayed would be to add error_reporting(E_ALL ^ E_NOTICE); to the end of your settings.php file.
That, said, I should probably change the module so that this warning doesn't occur. I'll add that to the todo list :)
Many thanks and I agree that you probably need to clean up the code a bit in this case.
Corrected the mistype
Comments
Comment #1
andy inman commentedIs this after a fresh install? Doesn't happen for me (PHP 5.3.6) but possibly some difference in your PHP configuration.
Comment #2
vitalie commentedHi, no, it is not a fresh install of Drupal if this is what you mean. How can I discover what's the difference in PHP configuration?
Comment #3
andy inman commentedIn default configuration, PHP would not display this error message - http://php.net/manual/en/function.error-reporting.php -
So, one way to stop this message from being displayed would be to add error_reporting(E_ALL ^ E_NOTICE); to the end of your settings.php file.
That, said, I should probably change the module so that this warning doesn't occur. I'll add that to the todo list :)
Comment #4
vitalie commentedMany thanks and I agree that you probably need to clean up the code a bit in this case.
Comment #4.0
vitalie commentedCorrected the mistype