How to Enable WordPress Error Logging for Debugging

Bugs happen. When they do, error reporting is needed to squash them. Here is how to turn it on. Look for these line and/or add them to your WordPress wp-config.php file. This file is located in your WordPress home directory. Now, when things go bad for WordPress, you can see why by visiting this file:http://[your-website]/wp-content/debug.log Now go a step further and turn on PHP Error Reporting. Add this snippet next. This creates error logs in the folder that they’ve happened in. For WordPress theme and plugin issues, we generally are interested in this file: http://[your-website]/wp-content/error_log It’s important to point out


Read More