Home > Featured > Suppress Errors and Warnings in WordPress
Bookmark and Share

Suppress Errors and Warnings in WordPress

Posted on September 23, 2012 | Filed in Featured, Wordpress

Your WordPress install is throwing up errors either because you’re on a new host or your hosting company upgraded PHP.

Before you find the time to do a proper WordPress upgrade you can add the following code as a stop-gap measure, to your wp-config.php to suppress error messages:

@ini_set(‘display_errors’,’Off’);
@ini_set(‘error_reporting’,0);

Leave a Reply

Contact Us

Big Apple Design Group
134 West 29th Street
Third Floor
New York, NY 10001

[email protected]

Search Blog