Share
How to create error log in WordPress
Question
Hi,
How can I create an error log file in my WordPress installation?
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Answer ( 1 )
Open your wp-config.php file.
Find this line of code:
set it to
Then add this code below it:
This will create a debug.log file in your wp-content folder. Once you are done debugging, make sure to set the WP_DEBUG back to false.