PHP 5.3 complaining ...

Comments

andy inman’s picture

Is this after a fresh install? Doesn't happen for me (PHP 5.3.6) but possibly some difference in your PHP configuration.

vitalie’s picture

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?

andy inman’s picture

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 :)

vitalie’s picture

Many thanks and I agree that you probably need to clean up the code a bit in this case.

vitalie’s picture

Issue summary: View changes

Corrected the mistype