Turning on WordPress debugging
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.
Support Center Login
Social Media Login
2014-11-20 10:21 pm
after i put the code into the file. how do i get the site to start the debugging process. I dont' know what step to take next and I cannot locate the email any more.
Thank you for any and all assistance!
2014-11-21 9:20 am
After turning on wordpress debugging, any php errors, warnings, or notices will be displayed. So essentially you would try to get an error for what ever the reason you needed the wordpress debugging on to start with.
2016-05-12 7:52 pm
well that didn't work either, gave me nothing but errors, my issue is with the new version of wordpress, my classified site was good with 4.5, but upgrade to 4.5.1 & 2 I get the auto draft message instead of the actual post, I just tried on my localhost site with older version of same theme and works great, but once update the wordpress I get auto draft..
2016-05-12 8:13 pm
I recommend trying some of the other WordPress troubleshooting techniques to narrow down the cause.
What are the errors you are getting?
2016-07-13 5:48 am
This may sound dumb... where am I looking for the error's? On the WP dashboard?
2016-07-13 2:24 pm
It's a good question! The debug option changes a number of behaviors and can also be modified even further. First, PHP errors may be displayed on the screen (front end or backend), and may also be recorded in the debug.log file in the wp-content folder. You can find out much more about the debug mode by reviewing this article.
If you have any further questions or comments, please let us know.