I'm updating a drupal 6 site and getting hit with alot of notice errors. how can i silence these non vital errors. Usually just get undefined index and warning/notice messages
1 Answer
Its not so much a Drupal 6 question, but a PHP question.
In your settings.php file I sometimes do the following on my Drupal 7 sites:
// Drupal Bootstrap is overriding even htaccess values for this. I want the
// notices but not for them to display in production.
ini_set('error_reporting', 'E_ALL ^ E_NOTICE');