Suppress Errors and Warnings in 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);