Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#53085 new defect (bug)

Gutenberg editor and Chrome stopped working after 5.7

Reported by: thaikolja's profile thaikolja Owned by:
Milestone: Awaiting Review Priority: normal
Severity: blocker Version: 5.7
Component: Editor Keywords: needs-patch
Focuses: Cc:


I have a problem with Gutenberg since upgrading to the version above 5.7, including 5.7.1, which seems like a bug to me. If I refresh, sometimes it works, but usually not.

All plugins have been deactivated, including /mu-plugins/, and a shipped theme activated. Same issue in Google Chrome and Chrome Canary. Safari works, but it takes several seconds for the UI to be clickable.

Downgrading to 5.6 works, too, but this can't be the right solution.

Here is [the error log]( that was logged when Gutenberg didn't react.

Change History (8)

#1 @vdwijngaert
3 years ago

  • Severity changed from blocker to normal

Hey there, thanks for reporting this issue. In order for us to be able to help you, we'll need a bit more information.

First of all, in your error log, I noticed this line: Failed to load resource: the server responded with a status of 403 ()

This gives me the impression not all plugins were deactivated at the time of testing. Can you follow these steps for me?

  • Please make sure that while testing, no plugins are active, you are running a bundled theme (try Twenty Twenty-One), and that both WP and the theme is up-to-date.
  • If you still experience the issue, try to install the latest Gutenberg plugin, to see if that fixes it.

If the issue still persists, can you try to reproduce it in a new environment, and provide us with a more detailed explanation of the problem you're experiencing and how we can reproduce it?


#2 @thaikolja
3 years ago

  • Severity changed from normal to blocker

Hi @vdwijngaert and thanks for your reply.

You're right, Yoast SEO was active when I copied the log. However, the exact same log (without the Yoast part) appears when all plugins are deactivated. As I said before, I reduced everything to the most native state I could, changing the theme to one that WP ships, no plugins at all, no /mu-plugins/. I've been working with WP professionally for +12 years, so I know what might influence WP's core.

I can't tell you how to reproduce it. Sometimes, I refresh and it works. Then I refresh again and it doesn't. It's like there's no logic behind it.

One thing I haven't said: I'm using it locally, via valet-plus, and an SSL certificate (but I also tried deactivating that). Can this have anything to do with that?

The weird part is that it works fine in WP 5.6, but not in 5.7.0 or 5.7.1, which, to me, clearly leads to a change in WP core, that's why I posted it here and not as a general help support ticket. It seems to be a bug that, if I google, other users also seem to have.

Thanks for your support!

#3 @vdwijngaert
3 years ago

Thanks for clarifying that. I did some more digging around and find this issue that might be related: #52790.

Just in case it isn't related, some more questions:

  • Does this happen regardless of the editor's content? Are you perhaps also using reusable blocks?
  • Can you share a dump of your editor content using the code editor? (ctrl+alt+shift+m)
  • When you say "it doesn't work", is there any more details you can give me as to what exactly doesn't work? Is there a visible error? Does the editor just stay blank?
Last edited 3 years ago by SergeyBiryukov (previous) (diff)

#4 @thaikolja
3 years ago

Hi @vdwijngaert,

No, this ticket does not reflect my problem.

Yes, I'd say pretty much regardless, I have ~800 posts under my custom post type, and I checked several of them randomly, and all had the same issue. Sometimes the Gutenberg UI works, sometimes not. It's just a matter of how often I hit refresh.

I have uploaded a video demonstrating this weird behavour.

You can see the video here:

If you see the console log, you'll see some extensions, i.e. Grammarly, are active, but I also tested it without any edxtensions or plugins and with standard themes. I also bulk-converted all posts to blocks, which gives me the following markup in the code view:

<!-- wp:paragraph -->
<p>Lorem ipsum...</p>
<!-- /wp:paragraph -->

#5 @vdwijngaert
3 years ago

Thanks a ton for the video! Will take a look shortly.

This ticket was mentioned in Slack in #core-editor by vdwijngaert. View the logs.

3 years ago

#7 @vdwijngaert
3 years ago

Hey @thaikolja, have you tried installing the Gutenberg plugin, as suggested in my first comment? That's the feature plugin containing the latest version of Gutenberg that's not already bundled in core. Your issue might already have been solved there.

#8 @thaikolja
3 years ago

Hi @vdwijngaert,

Please excuse the late reply.

Yes, unfortunately, the bug also exists using the Gutenberg plugin. I wish I could find a way to have you guys replicate it, but I'm totally in the dark here. It's just posts, 90% of them only text, created with the classic editor from WP < 5.0. A few of them have a gallery embedded or a Tweet, most don't. It must have something to do with the changes made to Gutenberg after 5.6.

Note: See TracTickets for help on using tickets.