How can I suppress warning messages in the front end ? Thanks.

Comments

sprite’s picture

Try inserting the following in the settings.php:

ini_set('error_reporting', E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);

spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...

sprite’s picture

spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...

peterk900’s picture

Both the change to settings.php and using the module have removed the message. The module seems to offer more granular control though and I am testing this with various simulated errors. Thanks for these two solutions.