1

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

0

1 Answer 1

3

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');

Not the answer you're looking for? Browse other questions tagged or ask your own question.