kitchen cabinets forum

Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: Applying a WordPress Error Log in WordPress Website


Senior Member

Status: Offline
Posts: 115
Date:
Applying a WordPress Error Log in WordPress Website
Permalink   


You must be annoyed by the errors coming to your website. However, every error has a solution. But if you know how error has arrived on the site and why it is occurring, then we can plan troubleshooting steps for it. Have you heard of the WordPress error log? Now we will talk about the error log and learn how to enable it on the website.

 

There is a time when you feel frustrated because of several errors on the WordPress website. But as we know, each error can be solved. The WordPress error log is one of the ways to detect errors. 

 

Set an error log inside the wp-config.php file located on the root folder. Search the sentence that contains Happy blogging.'

 

 Write two codes before this sentence given below. 

 

define ('WP_DEBUG', true ); 

define( 'WP_DEBUG_LOG', true );

 

Save the file, and you have successfully implemented an error log in your website. Now in the future, if you encounter any error to the website, you can see the list of errors in log and solve them accordingly.  

 

Word-Press-error-logg.jpg



__________________
Page 1 of 1  sorted by
Quick Reply

Please log in to post quick replies.



Create your own FREE Forum
Report Abuse
Powered by ActiveBoard