Apologies for the long comment, but I’m going to try to provide as much detail as possible…
Is anybody seeing similar issues related to other plugins? I’m seeing lots of mentions of the WP_Metadata_Lazyloader plugin specifically here and in the Trac tickets, as well as W3TC above (which we are not using, but we are using WP Super Cache). We’re getting a ton of errors in logs across all of our sites, the likes of which I’ve never seen before, and which seemed to coincide with the WordPress 6.3 update. A sample of the kinds of errors we’re seeing are pasted below.
I’ve disabled WP Super Cache and did a manual re-install of 6.3 via FTP on all sites. The errors died down for a while after the manual reinstall so I was hopeful that had solved the issue, but then the errors started again overnight.
My first thought was some type of theme issue, as most of our sites are using custom themes, while one is using OnePress. But there have been no changes / updates to the themes during this timeframe on any of the sites, and the errors all seem to be related to WP core utilities / services. And again, all of these are errors that I’ve never seen before the 6.3 update, across all sites, so the timing seems more than coincidental.
Most of the sites are using different combinations of plugins, but I have not been able to pin down any specific plugin (by disabling / re-activating) that might be causing this. One of the difficulties in identifying the source of the errors is that I have not been able to find any action on the sites’ frontend / dashboard that seems to trigger the errors. It seems to maybe be related to automatic WP processes happening in the background.
Most of the sites are running on PHP 8.0, with a couple still on 7.4, due to a couple of those sites’ installed plugins seeming to not yet be fully compatible with PHP 8.
Rolling back to 6.2 might be something we’d be willing to do temporarily but is certainly not a long-term solution. We don’t want to miss out on future WP core security updates, etc.
Does anybody have any ideas here, and / or have any confidence that the fixes being developed for this will also resolve the errors we’re seeing on our sites? Thank you!
PHP Fatal error: Uncaught Error: Undefined constant "ABSPATH" in /home/public_html/wp-includes/class-wp-http.php:11
Stack trace: {main} thrown in /home/public_html/wp-includes/class-wp-http.php on line 11
PHP Fatal error: Uncaught Error: Class "WP_Dependencies" not found in /home/public_html/wp-includes/class-wp-scripts.php:18
Stack trace: {main} thrown in /home/public_html/wp-includes/class-wp-scripts.php on line 18
PHP Fatal error: Uncaught Error: Class "WP_Dependencies" not found in /home/public_html/wp-includes/class-wp-styles.php:18
Stack trace: {main} thrown in /home/public_html/wp-includes/class-wp-styles.php on line 18
PHP Fatal error: Uncaught Error: Call to undefined function add_filter() in /home/public_html/wp-includes/navigation-fallback.php:53
Stack trace: {main} thrown in /home/public_html/wp-includes/navigation-fallback.php on line 53
PHP Fatal error: Uncaught Error: Call to undefined function get_the_block_template_html() in /home/public_html/wp-includes/template-canvas.php:12
Stack trace: {main} thrown in /home/public_html/wp-includes/template-canvas.php on line 12
PHP Fatal error: Uncaught Error: Undefined constant "ABSPATH" in /home/public_html/wp-includes/blocks/index.php:8
Stack trace: {main} thrown in /home/public_html/wp-includes/blocks/index.php on line 8
PHP Fatal error: Uncaught Error: Class "WP_Widget" not found in /home/public_html/wp-includes/widgets/class-wp-widget-block.php:17
Stack trace: {main} thrown in /home/public_html/wp-includes/widgets/class-wp-widget-block.php on line 17
--------------------------------------
And separately (the types of errors above seem to all happen about the same time, while the error below seems to occur separately):
PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /home/public_html/wp-content/themes/<theme name>/index.php:7
Stack trace: {main} thrown in /home/public_html/wp-content/themes/<theme name>/index.php on line 7
--------------------------------------
Cron failures related to Yoast SEO, WordFence, and the WordPress job queue:
Cron reschedule event error for hook: wpseo_cleanup_cron, Error code: could_not_set, Error message: The cron event list could not be saved., Data: {"schedule":"hourly","args":[],"interval":3600}
Cron unschedule event error for hook: wordfence_start_scheduled_scan, Error code: could_not_set, Error message: The cron event list could not be saved., Data: {"schedule":false,"args":[1692801600]}
Cron reschedule event error for hook: action_scheduler_run_queue, Error code: invalid_schedule, Error message: Event schedule does not exist., Data: {"schedule":"every_minute","args":["WP Cron"],"interval":60}