• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Applying a WordPress Error Log in WordPress Website

wperror500

New Pleskian
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.
 
Back
Top