[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 01:17:38 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 azaozz):
53432.1.diff looks good.
There's quite a bit of related discussion in Slack, see:
https://wordpress.slack.com/archives/C02RQBWTW/p1623965403246200. Also
related #53285.
Thinking it may be good to show a warning that the plugin has been
disabled. Looking at how that may work, seems it would need to get
triggered on the next run, so perhaps saving something in the DB and
having a function to show it once. Can possibly add a bit to the Plugins
list table to show a notice when a plugin has been auto-disabled, but
perhaps consider it for 5.9 :)
For the future seems the best UX would be to interrupt the core upgrade
when there is an incompatible plugin. Then tell the user (and/or send
email) to either update or uninstall the plugin before upgrading core.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53432#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list