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

WordPress Trac noreply at wordpress.org
Fri Nov 11 16:45:12 UTC 2022


#56985: An unupdated Version of Gutenberg Fatally breaks the site on WordPress 6.1
Autoupdate
-------------------------------------------------+-------------------------
 Reporter:  namith.jawahar                       |       Owner:
                                                 |  hellofromTonya
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.1.1
Component:  Upgrade/Install                      |     Version:  6.1
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-testing-info commit    |     Focuses:
  fixed-major                                    |
-------------------------------------------------+-------------------------
Description changed by JeffPaul:

Old description:

> 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.

New description:

 An unupdated Version of Gutenberg Fatally breaks the site 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#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list