WordPress.org

Make WordPress Core

#45137 closed defect (bug) (invalid)

Fatal Error After Update to 5.0

Reported by: miqrogroove Owned by:
Milestone: Priority: normal
Severity: major Version: 5.0
Component: Upgrade/Install Keywords:
Focuses: Cc:

Description

I received the "WordPress 5.0 is imminent" e-mail today. The only way I could figure out to install 5.0 was via SVN checkout on the branch path.

I got as far as the Dashboard, where it asked me to install and activate Gutenburg. This operation failed and threw a fatal error on the Dashboard:

Fatal error: Cannot declare class WP_REST_Autosaves_Controller, because the name is already in use in /wp-content/plugins/gutenberg/lib/class-wp-rest-autosaves-controller.php on line 387

Change History (6)

#1 @miqrogroove
11 months ago

Version says 5.0-alpha-43775

#2 @earnjam
11 months ago

The Gutenberg plugin & the 5.0 branch are not currently compatible as we work through the merge process.

This will be resolved when the 5.0 beta is released soon.

#3 @miqrogroove
11 months ago

My thoughts here: 5.0 does not appear to be ready for testing. I am putting the "WordPress 5.0 is imminent" message straight in the Trash, and I imagine others might do the same.

Can we do anything to clarify the branch timeline and expectations for plugin developers?

#4 @SergeyBiryukov
11 months ago

  • Component changed from General to Upgrade/Install
  • Version changed from trunk to 5.0

Related: #45123, #45073.

Looks like this is already addressed in [43765].

#5 @miqrogroove
11 months ago

I got the error after installing r43775. So this was not fixed yet.

#6 @pento
11 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

[43765] only disables the Gutenberg plugin on upgrade, it doesn't re-disable the Gutenberg plugin when someone enables it.

WordPress 5.0 and Gutenberg 4.1+ will be able to work together, Gutenberg 4.0 (and older) won't function with WordPress 5.0.

WordPress 5.0 beta 1 won't require the Gutenberg plugin to be able to test, I expect it will be available early next week. Unfortunately, the email went out a little early.

If you want to start testing now, you can test the WordPress 5.0 nightly with Gutenberg master, they should be working correctly.

http://github.com/wordpress/gutenberg

Note: See TracTickets for help on using tickets.