Snippets

Visser Labs Turn on error file logging in WordPress

Created by Michael Visser last modified
1
2
3
4
5
6
7
@ini_set( 'log_errors', 'On' );
@ini_set( 'display_errors', 'Off' );
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

/* That's all, stop editing! Happy blogging. */

Comments (0)