Enabling error messages in the Drupal 7 is not always advised for a live site. When enabled, the site will display error that may alarm the visitor even if they are simple warnings. This setting is generally used when in development or troubleshooting and you want to display the errors to understand how to correct them. Still, Drupal 7 has a setting for you in the admin dashboard so you can easily change it whenever you are in need.
How to configure error message display in Drupal 7
- Log into your Drupal 7 admin dashboard.
- On the top menu bar, locate the Configuration option and click on it.
- This brings you to the main Configuration caterogy screen. Find the subcategory named Development and click on the Errors and Logging link.
- Once on the Errors and Logging screen, find the Error Messages to Display and select from the three radio button options. The None option is recommended when you are live. The other two are best reserved for troubleshooting or development.
- Once finished, go down to the bottom of the screen and click the Save Configuration button.
Now you have successfully modified the error message display in Drupal 7