I want to hide all error messages to the users. I did all the three steps below
- Set display_errors = off and error_reporting = 32767 in php.ini
- Made sure this config
$config['system.logging']['error_level'] = 'verbose';
not exist in settings.php - Admin->Configuration->Development->Logging and Errors -> set
None
forError messages to display
config.
Still it is showing all the errors, but on first time load only (E.g If there was an error in previous page, those errors are displayed in current page. If i do refresh, those errors are gone from the pages).
How really can hide all the error messages in Drupal 8? I just want to log the messages not to display.
/admin/config/development/logging
? – No Sssweat Jun 21 '18 at 6:09None
. – siddiq Jun 21 '18 at 18:18