-
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
Full Site Editing: new page WSOD on Simple Sites #34689
Comments
As @mmtr found out:
So the WSOD is caused by having spaces or new lines in the page template content. This seems to be related to the fact that we are still inserting this content manually on Dotcom, which in the end produces these spaces in |
Decreased the priority since this will be likely solved once we have the automated data population functionality on WP.com. |
@mmtr based on my latest testing I'm not sure if this will be the case. I've executed the same data population method on my Dotcom test site to try to replicate the content without spaces (e.g. not manually entered one), and I still get the WSOD when trying to create a new page. |
Does that mean that you created the data manually from the editor without entering new lines in between? I tried the same and even though the new lines were added automatically (not sure why, maybe If I add the data programmatically (after applying Automattic/themes#1062 to my sandbox), |
No, I executed the code that FSE provides for that - Line 15 in 4612c22
|
Here's the dump of my
Still seems to be returning newlines - not sure why it populated data differently in this case. 🤔 Maybe some preprocessing (e.g. |
I merged the following PRs: Based on #34689 (comment) I'm going to close this. I'll reopen it if it turn out that automatic data population by themes doesn't resolve it. |
@mmtr I verified that this is now working as expected with new theme approach in D30622-code. |
Trying the recently deployed version of FSE on Simple sites produces WSOD when trying to edit a new page.
Note that you'll need to assign correct taxonomy terms to your CPTs manually. This is expected since we still haven't merged the automated data population functionality on Dotcom, so they would refuse to render otherwise.
This can be added in Gutenberg's sidebar manually:
After that is set up, the rendering and editing should work correctly for exiting pages.
However, when trying to create a new page I'm running into WSOD with the following error:
I've noted this issue before on self-hosted setup here: #34481 and tracked it down to a PR that seemed to introduce it there, but I couldn't repro it in that environment since.
The text was updated successfully, but these errors were encountered: