How to hide PHP Warnings and Notices in WordPress

By ukmodak | March 31st 2024 10:38:39 AM | viewed 803 times

Add the following code in wp-config.php files

	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);
bONEandALL
Visitor

Total : 27273

Today :9

Today Visit Country :

  • United States
  • Sweden
  • Singapore
  • Russia