Debug.php file not generating in wp-content folder
Debug.php file not generating in wp-content folder
Debug.php file not generating in wp-content folder
How to resolve error in debug.log file
Turning off debug in my WP blog causes an internal error
How to create a new theme from an existing incomplete theme folder?
Ugh, turns our our themes functions.php file had the following directive, overriding all other error reporting. error_reporting(E_ERROR); Moral: Always good to check root theme files if all else fails.
Somewhere in the codebase, the function or method is_tax() is being called before WordPress knows what content is being requested. Using a plugin like Query Monitor will help determine it’s source. There may also be a stack trace in wp-content/debug.log (if WordPress is setup with debug constants). This would not be a symptom of lazy … Read more
“Object-cache.php” disables wp_cron and even disables my entire site, and keeps reappearing by itself again after I delete it
Edit page displays ‘critical error has occurred’ but when debugging is turned on, there are no error messages
Since wp-cli version 2.8.0 the –use-include flag makes XDebug work with wp eval-file as it will use include() for the file instead of using eval(). See more here: https://make.wordpress.org/cli/2023/05/31/wp-cli-v2-8-0-release-notes/ https://github.com/wp-cli/eval-command/issues/49
You’ll find error_log output in WordPress’s debug.log, under wp-content, if enabled in your web server’s error log file, e.g. /var/log/httpd/error_log for Apache, or /var/log/apache2/error_log on Ubuntu /var/log/nginx/default-error.log for nginx or in your PHP FPM service’s error log if you’re running that instead It generally won’t get output in the web page, no. If you want … Read more