Spyderserve Web Development
Gary Kuhlmann - February 27, 2014
If you want to disable php errors from being displayed on your wordpress site you can add the following to your wp-config.php file:
define('WP_DEBUG', false);
I have, however, experienced instances where plugins will still cause notices to show on the webpages of my site. To make sure no PHP notices show on the site I also include this after the call for wp-settings.php in my wp-config.php file:
error_reporting(0); @ini_set('display_errors', 0);Source: http://wordpress.org/support/topic/disable-error-reporting-in-wordpress