Created
December 20, 2018 14:38
-
-
Save solepixel/459df2857688eba030dc6f16c3dc4616 to your computer and use it in GitHub Desktop.
Enable WP_DEBUG on production sites - Only do this temporarily to find problems. Disable and delete wp-content/debug.log when you've resolved your issue.
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
<?php | |
// ^^ Other config settings such as database credentials. ^^ | |
/** | |
* WordPress debugging mode. | |
* | |
* For information on other constants that can be used for debugging, | |
* visit the Codex. | |
* | |
* @link https://codex.wordpress.org/Debugging_in_WordPress | |
*/ | |
define( 'WP_DEBUG', true ); | |
define( 'WP_DEBUG_DISPLAY', false ); | |
define( 'WP_DEBUG_LOG', true ); | |
/* That's all, stop editing! Happy blogging. */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment