[vc_row][vc_column][vc_column_text]If you set WP_DEBUG to false in your wp-config.php file you should be fine. Warnings and notices don’t affect your site in any way, so end users don’t need to see them and often think there’s something seriously wrong when they do.
Sometimes this doesn’t work on cheap (usually shared) hosts – they often force displaying PHP warnings and notices. (like GoDaddy)
In that case, you can replace this line from your wp-config.php file:
ini_set('log_errors','On'); ini_set('display_errors','Off'); ini_set('error_reporting', E_ALL ); define('WP_DEBUG', false); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', false);
Once that’s done, you can view all your warnings and notices in a file in wp-content called “debug.log”.
This is especially useful on servers that have unusual setups for Apache, PHP etc., as it can be difficult to access the normal log files, especially on hosts that don’t allow shell access or don’t give users permission to view log files in real time.