Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error in Gutenberg plugin 10.2.0 #29972

Closed
paaljoachim opened this issue Mar 18, 2021 · 5 comments
Closed

Fatal error in Gutenberg plugin 10.2.0 #29972

paaljoachim opened this issue Mar 18, 2021 · 5 comments
Labels
[Type] Bug An existing feature does not function as intended

Comments

@paaljoachim
Copy link
Contributor

paaljoachim commented Mar 18, 2021

Description

I received a "Your website is having technical difficulties" e-mail (The e-mail is in Norwegian, and am just directly translating to English.)

Web site looked like this (again this is Norwegian):

Screen Shot 2021-03-18 at 11 44 10

With the recovery link I was able to login and noticed that the Gutenberg plugin had been deactivated.

Screen Shot 2021-03-18 at 11 45 13

Denne utvidelsen kunne ikke lastes riktig og er derfor midlertidig stoppet under gjenopprettingsmodus.

En feil av typen E_ERROR ble forårsaket i linje 59 i filen /home/edwiegjz/religionskritikk.no/wp-content/plugins/gutenberg/lib/block-supports/generated-classname.php. Feilmelding: Uncaught Error: Class 'WP_Block_Supports' not found in /home/edwiegjz/religionskritikk.no/wp-content/plugins/gutenberg/lib/block-supports/generated-classname.php:59 Stack trace: #0 /home/edwiegjz/religionskritikk.no/wp-content/plugins/gutenberg/lib/load.php(117): require() #1 /home/edwiegjz/religionskritikk.no/wp-content/plugins/gutenberg/gutenberg.php(213): require_once('/home/edwiegjz/...') #2 /home/edwiegjz/religionskritikk.no/wp-content/plugins/gutenberg/gutenberg.php(20): gutenberg_pre_init() #3 /home/edwiegjz/religionskritikk.no/wp-settings.php(377): include_once('/home/edwiegjz/...') #4 /home/edwiegjz/religionskritikk.no/wp-config.php(68): require_once('/home/edwiegjz/...') #5 /home/edwiegjz/religionskritikk.no/wp-load.php(37): require_once('/home/edwiegjz/...') #6 /home/edwiegjz/religionskritikk.no/wp-login.php(12): require('/home/edwiegjz/...') #7 {main} thrown

Expected behaviour

No fatal error in the Gutenberg plugin. That the site just works as normal.

Actual behaviour

Fatal error.

WordPress information

  • WordPress version: 5.5.3
  • Gutenberg version: Versjon 10.2.0
  • Are all plugins except Gutenberg deactivated? No
  • Are you using a default theme (e.g. Twenty Twenty-One)? No

I assume that the Gutenberg plugin version 10.2.0 will not work in the older WordPress version 5.5.3. Upon perhaps autoupdating that the update caused a fatal error.

@paaljoachim
Copy link
Contributor Author

I deactivated the Gutenberg plugin 10.2.0.
When I tried to reactivate the plugin the fatal error came back.

Fatal error: Uncaught Error: Class 'WP_Block_Supports' not found in /home/edwiegjz/religionskritikk.no/wp-content/plugins/gutenberg/lib/block-supports/generated-classname.php:59 Stack trace: #0 /home/edwiegjz/religionskritikk.no/wp-content/plugins/gutenberg/lib/load.php(117): require() #1 /home/edwiegjz/religionskritikk.no/wp-content/plugins/gutenberg/gutenberg.php(213): require_once('/home/edwiegjz/...') #2 /home/edwiegjz/religionskritikk.no/wp-content/plugins/gutenberg/gutenberg.php(20): gutenberg_pre_init() #3 /home/edwiegjz/religionskritikk.no/wp-admin/includes/plugin.php(2297): include('/home/edwiegjz/...') #4 /home/edwiegjz/religionskritikk.no/wp-admin/plugins.php(191): plugin_sandbox_scrape('gutenberg/guten...') #5 {main} thrown in /home/edwiegjz/religionskritikk.no/wp-content/plugins/gutenberg/lib/block-supports/generated-classname.php on line 59

@paaljoachim paaljoachim added the [Type] Bug An existing feature does not function as intended label Mar 18, 2021
@paaljoachim paaljoachim changed the title Fatal error in Gutenberg plugin Fatal error in Gutenberg plugin 10.2.0 Mar 18, 2021
@youknowriad
Copy link
Contributor

There's nothing we can do here. That version is incompatible with WP 5.5. It just shouldn't be used there.

@paaljoachim
Copy link
Contributor Author

That is what I thought.
It should not be possible for autoupdating Gutenberg plugin on an older WP site. As the result seems to create a fatal error. As there can be a lot of sites that will come across this problem.

@desrosj @audrasjb

@youknowriad
Copy link
Contributor

I think we had an issue where the required version was duplicated in both gutenberg.php and readme.txt. So the auto-updater might have been relying on the wrong one. This is was fixed recently in #29646 and will be active in the next version.

@paaljoachim
Copy link
Contributor Author

Great! Thanks Riad!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

2 participants