WordPress.org

Make WordPress Core

Opened 7 months ago

Closed 7 months ago

#53237 closed defect (bug) (reported-upstream)

5.8-alpha-50935 breaks with Gutenberg enabled

Reported by: imabug Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.8
Component: Editor Keywords:
Focuses: Cc:

Description

My WP installation updated itself to 5.8-alpha-50935 and when I went to check it this morning, it greeted me with an error message.

Thanks to the recovery mode email, I was able to get back in to find that the problem was with Gutenberg 10.6.1. After deactivating Gutenberg, I got the following error when trying to reactivate it:

Fatal error: Cannot redeclare construct_wp_query_args() (previously declared in /*/*/*/wp-includes/blocks.php:978) in /*/*/*/wp-content/plugins/gutenberg/lib/query-utils.php on line 20

WP 5.8-alpha-50935 seems to be working fine with Gutenberg deactivated and was working fine prior to the 5.8-alpha-50935 update.

Change History (2)

#1 @vladytimy
7 months ago

  • Component changed from General to Editor

I can replicate with 5.8-alpha-50935 and Gutenberg 10.6.1

Same error occured on wordpressfoundation.org yesterday (not sure what version it runs on, but I guess that's the case too there as well - it runs on trunk). Disabling the Gutenberg plugin fixed the error.

See discussion here: https://wordpress.slack.com/archives/C02QB8GMM/p1621440529047200

Last edited 7 months ago by vladytimy (previous) (diff)

#2 @ocean90
7 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Severity changed from critical to normal
  • Status changed from new to closed

Hey there, this has been fixed upstream in https://github.com/WordPress/gutenberg/pull/32008. The change will be released in the next version of Gutenberg.

See also related chat in the #core-editor channel on Slack.

Note: See TracTickets for help on using tickets.