Updated Using WP_DEBUG_LOG to log errors (markdown)
parent
3e01a9e65f
commit
fe4bba06c6
|
@ -2,7 +2,7 @@ To log errors triggered by WordPress plugins, you can use the debug log.
|
|||
|
||||
1. [Edit your wp-config.php file](https://codex.wordpress.org/Editing_wp-config.php)
|
||||
2. Add the following lines to enable debug (if these are already defined, edit the values): https://gist.github.com/mikejolley/41265138d6229697f50599d73d52be2f
|
||||
3. As errors are logged, they should appear in `wp-config/debug.log`. You can open this file in a text editor.
|
||||
3. As errors are logged, they should appear in `wp-content/debug.log`. You can open this file in a text editor.
|
||||
|
||||
This will enable the debug log, but will hide errors on your site.
|
||||
|
||||
|
|
Loading…
Reference in New Issue