Last active
April 21, 2021 08:33
-
-
Save lynt-smitka/42c7f7795ce7bf7a108ef9b6287c7e15 to your computer and use it in GitHub Desktop.
Display/Log WordPress errors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define( 'WP_DEBUG', true ); | |
define( 'WP_DISABLE_FATAL_ERROR_HANDLER', true ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define( 'WP_DEBUG', true ); | |
define( 'WP_DEBUG_DISPLAY', false ); | |
define( 'WP_DEBUG_LOG', '/wp-content/my-wp-debug.log' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment