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.
Category: Debugging Wordpress
Debug tools(2)
Errors(1)
Issues(2)
Is define active?
Is define created, if so what is its state?
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
WordPress simple checks
All theme and plugin php files checks There must be no whitespace after the closing ?> tag of all theme and plugin PHP files.
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