In this article, we will teach you how to turn WordPress debugging on. With debugging turned on, it is much easier to locate any errors within your WordPress site as well as any plugins and themes that may be causing errors.
Enabling WordPress debugging within your wp-config.php using the cPanel File Manager
WordPress debugging is something that is enabled within your wp-config.php file. With just a simple edit to this file, you will be able to view any errors produced within WordPress.
First, be sure that you are logged into cPanel.
Now that you are logged into cPanel, look for the icon that says File Manager and click on it.
Within your public_html directory, you will see a file labeled wp-config.php. Right-click on it, then click on Code Editor.
At the bottom of your wp-config.php file, add the following lines:
define( 'WP_DEBUG', true );
define( 'SCRIPT_DEBUG', true );
After you have edited the wp-config.php file, be sure to save your changes by clicking on the Save Changes button at the top right of the file manager.
Now that the you have enabled debugging within WordPress, you should now be able to see any errors that are produced within your WordPress site.
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
new! - Enter your name and email address above and we will post your feedback in the comments on this page!