[wp-trac] [WordPress Trac] #56985: An unupdated Version of Gutenberg Fatally breaks the sute on WordPress 6.1 Autoupdate

WordPress Trac noreply at wordpress.org
Thu Nov 3 14:48:21 UTC 2022


#56985: An unupdated Version of Gutenberg Fatally breaks the sute on WordPress 6.1
Autoupdate
----------------------------+-----------------------------
 Reporter:  namith.jawahar  |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Plugins         |    Version:
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 An unupdated Version of Gutenberg Fatally breaks the sute on WordPress 6.1
 Autoupdate.

 I have tested with 14.0.3 of Gutenberg Plugin, need to test with further
 version to see where this gets fixed.

 When sites auto update to WordPress 6.1 and you have an older version of
 Gutenberg plugin installed the site fatally breaks with an error as
 follows

 Fatal error: Cannot redeclare get_template_hierarchy() (previously
 declared in ...../wp-includes/block-template-utils.php:1310) in .....c/wp-
 content/plugins/gutenberg/lib/compat/wordpress-6.1/block-template-
 utils.php on line 312

 Once this happens the users cant access the frontend or the backend to
 deactivate the plugin.

 Solution : Rename or remove and install the latest version of Gutenberg
 plugin via FTP.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56985>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list