What are all these errors for?
Share with Others
So one day I wake up to a phone call from a client saying their website was broken. After looking into it, I was able to determine that the website itself was working fine, however there were now red error messages showing up on almost every page. After further looking, they were not really errors, they were PHP notices. The notices sprung up during server upgrades that migrated from PHP 5.2 to PHP 5.3. At the time, we ended up just changing the PHP error setting to no longer display notices, and the crises was averted. however looking back now we could have done it this way.
- Log into the site with an admin account
- Go to Administer -> Error Reporting
- Select the option to only log errors to the log
This is a good thing to do for all production sites. The last thing you want to be displayed to users are PHP errors. I had been using Drupal for more than 6 months before I discovered this very simple option. Maybe I should have read the manual first...