Sometime hosting companies force to show debug messages on site. You simply need to hide the message by adding 4 lines in wp-config.php (it's in root of your wordpress installation).
Just add these lines at the end of wp-config.php file, save it and reload the page where warning/notice was showing. It should be gone.
ini_set('display_errors','Off');
ini_set('error_reporting', E_ALL );
define('WP_DEBUG', false);
define('WP_DEBUG_DISPLAY', false);
Comments
0 comments
Please sign in to leave a comment.