debug.log file

Enabling the debug.log file Edit the wp-config.php file: You’ll now get the same output, but written to the file instead of shown to users at the top of the page. Viewing the file This file will be written in: /wp-content/ directory Open this file using SSH or your FTP client to view the debug reports.

Read More

Debugging checklist/tips

Using a namespace? All php files declare the namespace at the top? Search all the files for “add_action”, confirm all uses include the namespace before the function name Search all the files for “add_shortcode”, confirm all uses include the namespace before the function name

Read More

Debug Mode

Turn on wordpress debug mode In “/wp-config.php” find (or add) this define and set it to true: Write to a file instead? See here for using the debug.log file

Read More