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

Gutenberg 18.9.0+ - Editor hangs / fails to load while Gutenberg is activated #93395

Open
masperber opened this issue Aug 8, 2024 · 35 comments
Assignees
Labels
Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". [Feature Group] Editor Experience Features related to Gutenberg integration on WordPress.com. [Feature] Post/Page Editor The editor for editing posts and pages. [Interaction #] > 20 (Automated) interaction count label for better visibility. Please don't add these manualliy. [Platform] Atomic [Pri] Low Address when resources are available. [Product] WordPress.com All features accessible on and related to WordPress.com. [Type] Bug

Comments

@masperber
Copy link

Quick summary

After Gutenberg 18.9.0 was pushed to WoA, some customers are reporting that the editor hangs/fails to load when trying to create or modify a page or post.

I haven't been able to reproduce the issue on my end, but the 2 customers who reported it noted that the editor was hanging consistently, and then the issue was resolved when Gutenberg was deactivated. I noted a short delay for the editor to load, during which I noted this error in the console:

chromewebdata/:1 Refused to display '{domain}' in a frame because it set 'X-Frame-Options' to 'deny'.

This issue was escalated and intermittently reproduced by @obenland. Discussion here: p1723150860104919-slack-C02FMH4G8

Steps to reproduce

  1. Ensure Gutenberg 18.9.0 is activated on a WoA site
  2. Attempt to create or modify a page or post

What you expected to happen

The editor should not hang or fail to load

What actually happened

The editor fails to load

Impact

Some (< 50%)

Available workarounds?

Yes, easy to implement

If the above answer is "Yes...", outline the workaround.

Deactivating Gutenberg resolves the issue.

Platform (Simple and/or Atomic)

Atomic

Logs or notes

No response

@masperber masperber added [Type] Bug [Feature] Post/Page Editor The editor for editing posts and pages. Needs triage Ticket needs to be triaged [Product] WordPress.com All features accessible on and related to WordPress.com. [Feature Group] Editor Experience Features related to Gutenberg integration on WordPress.com. labels Aug 8, 2024
@github-actions github-actions bot added [Platform] Atomic [Pri] Low Address when resources are available. labels Aug 8, 2024
@masperber
Copy link
Author

Initial reports:

8588096-zen
8588228-zen

Copy link

github-actions bot commented Aug 8, 2024

Support References

This comment is automatically generated. Please do not edit it.

  • 8588096-zen
  • 8588228-zen
  • 8590757-zen
  • 8555756-zen
  • 8594797-zen
  • 8595076-zen
  • 8592156-zen
  • 8598170-zen
  • 8581550-zen
  • 8600008-zen
  • 8603076-zen
  • 8564810-zen
  • 8606760-zen
  • 8609440-zen
  • 8614432-zen
  • 8614417-zen
  • 8619084-zen
  • 8620558-zen
  • 8623940-zen
  • 8627809-zen
  • 8610999-zen
  • 8601907-zen
  • 8600675-zen
  • 8628923-zen
  • 8672276-zen
  • 8690864-zen
  • 9009936-zen
  • 8992550-zen

@github-actions github-actions bot added the Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". label Aug 8, 2024
@heavyweight
Copy link
Contributor

I setup similar conditions on my atomic site but I couldn't reproduce.
I also checked the sites in the tickets, where I briefly enabled guttenberg and I was able to load the editor properly.
Screenshot 2024-08-09 at 13 37 58
Screenshot 2024-08-09 at 13 26 59
Not sure what to do more.
@masperber were you able to reproduce this?

@masperber
Copy link
Author

@heavyweight I wasn't able to reproduce, but it was consistent for both of the two customers. @obenland was able to reproduce it intermittently, and gave some images of console errors in the Slack thread: p1723150860104919-slack-C02FMH4G8

@kelasante
Copy link
Collaborator

Had a user with a similar issue today in 8590757-zen. They say when they try and edit with Safari they get a blank page but are able to edit fine with Firefox.

Thought this was a browser issue since I was not able to replicate but sharing here just in case. They see this error message:

{"code":"rest_invalid_param","message":"Invalid parameter(s): path","data":{"status":400,"params":{"path":"Invalid parameter."},"details":[]}}

@tvolpert
Copy link

I suspect this user was affected: 8555756-zd-a8c

I'm not able to replicate the issue when SU'd, but that seems to be common with this particular bug, if I understand correctly?

@tvolpert
Copy link

another one in 8594797-zd-a8c

@rw-ye
Copy link

rw-ye commented Aug 10, 2024

Another report: 8595076-zd-a8c

The user experienced a blank editor screen and Jetpack settings were also blank. I wasn't able to reproduce it while SU'd.

Deactivating the Gutenberg plugin resolved both issues.

Screenshot of issues on user's end:

edit-screen
jetpack-settings

@philnick206
Copy link

philnick206 commented Aug 11, 2024

Reported in 8592156-zd-a8c

Can't reproduce. Deactivated Gutenberg to see if that helps the user who reported it. Waiting to hear back.

Update: Deactivating Gutenberg resolved it.

@druesome
Copy link
Contributor

druesome commented Aug 12, 2024

Reported in this p2: p9F6qB-fTd-p2 but the symptoms are a little different.

Whenever user clicks the Styles tab in the sidebar, the error message This block has encountered an error and cannot be previewed takes over the selected block. I can reproduce. Deactivating Gutenberg resolves the issue.

@nazilya06
Copy link

Another report: 8598170-zd-a8c

The user experienced a blank editor screen while accessing pages/posts. I wasn't able to reproduce it while SU'd.
Deactivating the Gutenberg plugin resolved the issue.

@rickmgithub
Copy link

Another report: 8581550-zd-a8c

@obenland
Copy link
Member

@heavyweight Can you help me understand what's happening to this bug report? There are more reports coming in, how is this being addressed?

@philnick206
Copy link

Another report: 8600008-zd-a8c

@heavyweight
Copy link
Contributor

I have no luck reproducing this issue and not sure how to move forward.
Seems like its browser related but looking though the tickets I tried lots of different ones: Chrome, Edge, Safari but still couldn't reproduce.
I asked my team to help me reproduce.

@obenland
Copy link
Member

obenland commented Aug 12, 2024

I only encountered it once and shared what I saw in the Slack channel.

I recognize it's hard to debug and fix, just wanted to make sure it didn't get dropped in hand-off because of that.

@galakhyati
Copy link

Another report here: 8603076-zd-a8c

The user was seeing a blank editor and was shown an error. Deactivating the Gutenberg plugin fixed the issue. Have kept the plugin deactivated for now.
Error screenshot:
Markup 2024-08-13 at 14 47 52

@github-actions github-actions bot added the [Interaction #] > 10 (Automated) interaction count label for better visibility. Please don't add these manualliy. label Aug 13, 2024
@tvolpert
Copy link

8564810-zd-a8c

@delputnam delputnam assigned rafaelgallani and unassigned delputnam Aug 13, 2024
@rafaelgallani
Copy link
Contributor

Just a heads up: we'll follow up with the next steps of the plugin upgrade (to 19.0.x) while actively still trying to reproduce this one in the meantime.

@delputnam
Copy link
Contributor

I also tried to follow the steps reported by the user in 8603076-zd-a8c

i am facing an error problem on the panel of my website, when i am trying to edit the text, through the Appearance - Editor - Templates - All templates - Page (for example) if i go on the right on Styles - Blocks and selecto to change the Paragraph text there is an error, so i cannot change the font style.

I was unable to reproduce this on a test site with a similar configuration.

@philnick206
Copy link

Another report: 8606760-zd-a8c

@tvolpert
Copy link

8609440-zd-a8c

@kelasante
Copy link
Collaborator

Additional reports back to back:

8614432-zd-a8c
8614417-zd-a8c

@tvolpert
Copy link

8619084-zd-a8c

@vinnykaur
Copy link

8620558-zd-a8c - User experienced This block has encountered an error and cannot be previewed error for Gallery and VideoPress blocks.

@kelasante
Copy link
Collaborator

kelasante commented Aug 18, 2024

8623940-zd-a8c
8627809-zd-a8c

@ezebecke
Copy link

user reported issue on 8610999-zd-a8c

@github-actions github-actions bot added [Interaction #] > 20 (Automated) interaction count label for better visibility. Please don't add these manualliy. and removed [Interaction #] > 10 (Automated) interaction count label for better visibility. Please don't add these manualliy. labels Aug 19, 2024
@jromales
Copy link

8601907-zd-a8c

@philnick206
Copy link

8600675-zd-a8c

@obenland
Copy link
Member

There appears to be another issue, maybe separate, where all blocks experience an error when they're clicked. See this video from 8620558-zd-a8c

328dfe70-94b8-42e1-8330-159f29688ee4.mp4

@masperber
Copy link
Author

@obenland Yesterday I had a customer report a similar issue (8628923-zd-a8c), where certain blocks would show an error after being clicked, but they indicated that only 2 out of the 3 site admins experienced it.

They also noted that the issue is no longer occurring today, which is the first day after their site was updated to Gutenberg 19.0.0.

@retnonindya retnonindya moved this from Needs Triage to Triaged in Automattic Prioritization: The One Board ™ Aug 28, 2024
@retnonindya retnonindya removed the Needs triage Ticket needs to be triaged label Aug 28, 2024
@kelasante
Copy link
Collaborator

kelasante commented Aug 30, 2024

8672276-zd-a8c
8690864-zd-a8c

@masperber masperber changed the title Gutenberg 18.9.0 - Editor hangs / fails to load while Gutenberg is activated Gutenberg 18.9.0+ - Editor hangs / fails to load while Gutenberg is activated Aug 30, 2024
@rosepajaroja
Copy link

rosepajaroja commented Nov 8, 2024

This seems to be related—I encountered two instances where the content inside grouped blocks was not editable while Gutenberg was active.

9009936-zen
8992550-zen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". [Feature Group] Editor Experience Features related to Gutenberg integration on WordPress.com. [Feature] Post/Page Editor The editor for editing posts and pages. [Interaction #] > 20 (Automated) interaction count label for better visibility. Please don't add these manualliy. [Platform] Atomic [Pri] Low Address when resources are available. [Product] WordPress.com All features accessible on and related to WordPress.com. [Type] Bug
Projects
Development

No branches or pull requests