Debugging and error logs
- How to enable WordPress debug mode, and what to do next
Turn on WordPress debug mode with three lines in wp-config.php, find debug.log, and learn what to do with what it shows you.
- How to read the WordPress debug log
Every line in debug.log has four parts: time, severity, message and file. Here is how to read them and trace an error to the plugin or theme behind…
- Is debug.log public? How to keep it private and small
By default anyone can open wp-content/debug.log in a browser, and it grows without limit. Here is how to check, protect, move and clear it.
- PHP deprecation notices in WordPress: what they mean and what to do
After a PHP upgrade, debug.log fills with "Deprecated" lines. They are warnings about the future, not errors. Here is how to sort them without hiding real problems.
- How to find a WordPress plugin conflict
Find a WordPress plugin conflict without breaking the live site: capture the error first, test on a copy, narrow it down by halves, and send the author a…
