Created
February 22, 2014 16:27
-
-
Save fieldoffice/9157500 to your computer and use it in GitHub Desktop.
Create a debug.log file for WordPress installs
This file contains hidden or 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
//Add to wp-config.php | |
define('WP_DEBUG', true); | |
define('WP_DEBUG_LOG', true); | |
define('WP_DEBUG_DISPLAY', false); | |
@ini_set('display_errors', 0); | |
//Writes to wp-content/debug.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment