[wp-trac] [WordPress Trac] #53432: Fatal error during update to 5.8 of a site with an active Gutenberg plugin (version less than 10.7)

WordPress Trac noreply at wordpress.org
Fri Jun 18 12:13:13 UTC 2021


#53432: Fatal error during update to 5.8 of a site with an active Gutenberg plugin
(version less than 10.7)
----------------------------------------------+----------------------------
 Reporter:  oglekler                          |       Owner:
                                              |  hellofromTonya
     Type:  defect (bug)                      |      Status:  assigned
 Priority:  normal                            |   Milestone:  5.8
Component:  Upgrade/Install                   |     Version:  trunk
 Severity:  normal                            |  Resolution:
 Keywords:  has-screenshots has-patch commit  |     Focuses:
----------------------------------------------+----------------------------

Comment (by SergeyBiryukov):

 In [changeset:"51180" 51180]:
 {{{
 #!CommitTicketReference repository="" revision="51180"
 Upgrade/Install: Deactivate the Gutenberg plugin if its version is 10.7 or
 lower.

 This avoids a fatal error due to `WP_Block_Template` class redeclaration
 when updating to WordPress 5.8 with an older version of Gutenberg
 activated.

 Follow-up to [35582] for the REST API plugin.

 Props hellofromTonya, oglekler, azaozz, desrosj, pbiron, jorbin,
 youknowriad, TimothyBlynJacobs, Clorith, markparnell.
 See #53432.
 }}}

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


More information about the wp-trac mailing list