wordpress error enable

Solutions on MaxInterview for wordpress error enable by the best coders in the world

showing results for - "wordpress error enable"
Michela
03 Mar 2017
1//Add develop or production config on your wordpress /wp-config.php file
2
3//DEVELOP CONFIG 
4@ini_set( 'log_errors', 'On' );
5@ini_set( 'display_errors', 'On' );
6define( 'WP_DEBUG', true );
7define( 'WP_DEBUG_LOG', true );
8define( 'WP_DEBUG_DISPLAY', true );
9define( 'SCRIPT_DEBUG', true );
10
11// PRODUCTION CONFIG
12@ini_set( 'log_errors', 'On' );
13@ini_set( 'display_errors', 'On' );
14define( 'WP_DEBUG', false );
15define( 'WP_DEBUG_LOG', false );
16define( 'WP_DEBUG_DISPLAY', false );
17define( 'SCRIPT_DEBUG', false );