How to hide PHP Warnings and Notices in WordPress

By ukmodak | March 31st 2024 10:38:39 AM | viewed 830 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 : 28003

Today :14

Today Visit Country :

  • Czechia
  • Canada
  • United States
  • Germany
  • Singapore