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
Category: Debugging Wordpress
Debug tools(2)
Errors(1)
Issues(2)
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.
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
Is define active?
Is define created, if so what is its state?
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.