-
Notifications
You must be signed in to change notification settings - Fork 2k
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
FSE - Using the classic editor causes WSOD #35804
Comments
@glendaviesnz is this specific to a certain site? I wasn't able to reproduce |
Ah "switching a site to FSE" is the key line, @noahtallen would you like to try and reproduce? We probably don't need to fix this immediately for our upcoming sprint, but I think we'll need this soon after |
I'll investigate |
For context, we'll need an idea of severity / how easy it is to reproduce. |
I was a bit confused about how to reproduce this, so I followed these steps which I hope are about what @glendaviesnz tried :D Default your account to the classic editor:
Enable FSE:
Reproduce the issue:Then, I tried to repo the reported issue.
So far I have not been able to reproduce the error. Next up, I'm going to try again but with the latest master build synced to the sandbox, and I'll sandbox the site after creating it. |
TLDR:I was ultimately unable to reproduce the reported error, but I did uncover some other issues around this flow. Site details:
In this state, the following issues happen:
Step-by-step:
The particular error links here: https://reactjs.org/docs/error-decoder.html/?invariant=130&args[]=undefined&args[]=
The call to types is sucessful on a new page and the wp-json call does not happen when creating a new page, at least before the point where it fails. |
I was able to easily replicate the issue @noahtallen encountered with classic block content being broken on a local install - I have split this of into a separate issue - #35894 as this is unrelated to which editor the user might have set, at point of FSE activation, it happens if classic content exists at the point of enabling FSE. This is probably critical as well @apeatling so have added blocker flag to it, but feel free to revise. |
Yes, this one needs to be fixed since it's a fatal, better to clean it up now. |
Changed my mind on this one, I don't think we should spend our time until after the test, because we're limiting to new users that will never have opted out. Is that correct @glendaviesnz? There should be no situation where this is encountered in the initial test? If it will impact the test in any way, let's move it back as a blocker. |
Also reported in #36375 Copied from @vindl: When attempting to load a page on a site that has FSE enabled with a classic editor the WSOD appears. This is a major issue for support, since HEs opening a customer site for the first time won’t be be automatically using the Block Editor. I think we should force Gutenberg for all users on FSE enabled sites, regardless of usual per user per site opt-in preferences that we use to determine whether Gutenberg should be loaded. More info and discussion in this post: paYE8P-8W-p2 I'm going to look into this next, as this could be problematic for HEs and we've covered the other blockers :) |
This is reproducible with the following steps. To do so:
|
Fix for this here: D33358-code. |
I verified the fix in production. Looking good! |
The patch D31361-code appears to cause an issue for users that have chosen to stick with classic editor
Steps to reproduce
Placeholder steps - TODO: flesh out replication steps
The text was updated successfully, but these errors were encountered: