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.
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.