[wp-trac] [WordPress Trac] #59057: Critical error after update to 6.3 due to WP_Metadata_Lazyloader

WordPress Trac noreply at wordpress.org
Thu Aug 10 21:00:52 UTC 2023


#59057: Critical error after update to 6.3 due to WP_Metadata_Lazyloader
--------------------------+------------------------
 Reporter:  alexpaterson  |       Owner:  joemcgill
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  6.3.1
Component:  General       |     Version:  6.3
 Severity:  critical      |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------

Comment (by alexpaterson):

 Hi @joemcgill,

 I just tried another approach – when I manually reinstalled WordPress 6.3
 through FileZilla I appended the old -admin and -includes folders to avoid
 a clash with the new ones. Anyway, I just tried reversing this (i.e. the
 new folders now appended with -new and renaming the old ones back to their
 original names) and I'm now receiving this log message:


 {{{
 Fatal error: Uncaught Error: Call to undefined function
 wp_lazyload_term_meta() in /opt/bitnami/wordpress/wp-
 includes/post.php:7720 Stack trace: #0 /opt/bitnami/wordpress/wp-includes
 /class-wp-query.php(3532): wp_queue_posts_for_term_meta_lazyload() #1
 /opt/bitnami/wordpress/wp-includes/class-wp-query.php(3787):
 WP_Query->get_posts() #2 /opt/bitnami/wordpress/wp-includes/class-wp-
 query.php(3919): WP_Query->query() #3 /opt/bitnami/wordpress/wp-includes
 /block-template-utils.php(935): WP_Query->__construct() #4
 /opt/bitnami/wordpress/wp-includes/blocks/template-part.php(213):
 get_block_templates() #5 /opt/bitnami/wordpress/wp-includes/blocks
 /template-part.php(257): build_template_part_block_instance_variations()
 #6 /opt/bitnami/wordpress/wp-includes/blocks/template-part.php(268):
 build_template_part_block_variations() #7 /opt/bitnami/wordpress/wp-
 includes/class-wp-hook.php(308): register_block_core_template_part() #8
 /opt/bitnami/wordpress/wp-includes/class-wp-hook.php(332):
 WP_Hook->apply_filters() #9 /opt/bitnami/wordpress/wp-
 includes/plugin.php(517): WP_Hook->do_action() #10 /opt/bitnami/wordpress
 /wp-settings.php(623): do_action() #11 /bitnami/wordpress/wp-
 config.php(205): require_once('...') #12 /opt/bitnami/wordpress/wp-
 load.php(50): require_once('...') #13 /opt/bitnami/wordpress/wp-blog-
 header.php(13): require_once('...') #14
 /opt/bitnami/wordpress/index.php(17): require('...') #15 {main} thrown in
 /opt/bitnami/wordpress/wp-includes/post.php on line 7720
 }}}

 I'm not sure if this helps any or whether it's making things worse, but
 obviously looks like a different kind of error. If the function is now
 undefined, does that mean there was maybe an issue when updating, and it
 never fully updated to 6.3?

 Just thought I'd send it over before I end up having to try and revert
 back to 6.2.2.

 Thanks,
 Alex

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59057#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list