[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
Wed Nov 9 16:20:37 UTC 2022


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

Comment (by hellofromTonya):

 == Test Report

 === Env

 * OS: macOS
 * Browser: Firefox
 * Localhost: WP Local
 * Update method: wp-cli

 === Reproduce Fatal Error

 Using Gutenberg v 13.9.0:

 * Step 1:

 === Testing with the Fix

 Note: I copied the `wordpress.zip` file to `/Local/wp61/app/` folder.

 ==== Test Fix with Gutenberg v14.0.3
 * Step 1: Rollback to WP 6.0.3
 {{{
 wp core update --version=6.0.3 --force
 }}}
 * Step 2: Install and active Gutenberg v 13.9.0
 {{{
 wp plugin install gutenberg --version=13.9.0 --activate
 }}}
 * Step 3: Install `wordpress.zip` with the fix
 {{{
 wp core update --version=6.1 ../wordpress.zip
 }}}
 * Step 4: Verify Gutenberg plugin deactivated with no fatal error. Go to
 and refresh the Plugins UI page. Results:
    * Gutenberg plugin did deactivate ✅
    * No fatal error ✅

 ==== Test Fix with Gutenberg v14.0.3
 * Step 1: Rollback to WP 6.0.3
 {{{
 wp core update --version=6.0.3 --force
 }}}
 * Step 2: Install and active Gutenberg v 14.0.3
 {{{
 wp plugin install gutenberg --version=14.0.3 --activate
 }}}
 * Step 3: Install `wordpress.zip` with the fix
 {{{
 wp core update --version=6.1 ../wordpress.zip
 }}}
 * Step 4: Verify Gutenberg plugin deactivated with no fatal error. Go to
 and refresh the Plugins UI page. Results:
    * Gutenberg plugin did deactivate ✅
    * No fatal error ✅

 ==== Test Fix with Gutenberg v14.1.0
 * Step 1: Rollback to WP 6.0.3
 {{{
 wp core update --version=6.0.3 --force
 }}}
 * Step 2: Install and active Gutenberg v 14.1.0
 {{{
 wp plugin install gutenberg --version=14.1.0 --activate
 }}}
 * Step 3: Install `wordpress.zip` with the fix
 {{{
 wp core update --version=6.1 ../wordpress.zip
 }}}
 * Step 4: Verify Gutenberg plugin does NOT deactivate. Go to and refresh
 the Plugins UI page. Results:
    * Gutenberg plugin is activated, ie did not deactivate ✅
    * No fatal error ✅


 === Results

 * Can reproduce the bug 🐞
 * With the fix:
   * Gutenberg v13.9.0:
     * Gutenberg plugin did deactivate ✅
     * No fatal error ✅
   * Gutenberg v14.0.3:
     * Gutenberg plugin did deactivate ✅
     * No fatal error ✅
   * Gutenberg v14.1.0:
     * Gutenberg plugin did not deactivate ✅
     * No fatal error ✅

 [https://github.com/WordPress/wordpress-develop/pull/3559/ PR 3559] fixes
 the fatal error and works as expected ✅

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


More information about the wp-trac mailing list