wp-calypso
wp-calypso copied to clipboard
Site editor: default site editor view not loading/get frozen
Quick summary
When checking Appearance > Editor, on some sites, the editor doesn't load and remains frozen.
Steps to reproduce
I cannot replicate this on my end
What you expected to happen
To see the editor load the assigned homepage template.
What actually happened
The editor looked like this:
Impact
One
Available workarounds?
No and the platform is unusable
Platform (Simple and/or Atomic)
Simple
Logs or notes
I cannot find a pattern for this, but so far, I've seen two cases:
7474554-zd-a8c 7446236-zd-a8c
For the second one, I've tried to replicate this locally by moving the content from there to my test site but that didn't help, which means, there's something not right with the contents of the homepage/index/frontpage template.
Browser console:
The themes used by the customers are Creatio 2 and Yuga.
Checking their website setup doesn't reveal any weird combination of settings.
As a workaround, they can try accessing the templates directly through Appearance > Editor > Templates > Homepage/Index/Frontpage.
Support References
This comment is automatically generated. Please do not edit it.
- [ ] 7474554-zen
- [ ] 7446236-zen
- [ ] 7480115-zen
- [ ] 7479191-zen
- [ ] 7488887-zen
- [ ] 7598056-zen
- [ ] 7643967-zen
- [ ] 7614084-zen
- [ ] 7662798-zen
- [ ] 7664033-zen
- [ ] 7624793-zen
- [ ] 7655938-zen
- [ ] 7726645-zen
- [ ] 7737876-zen
- [ ] 7778296-zen
- [ ] 7762263-zen
- [ ] 7827298-zen
- [ ] 7827706-zen
- [ ] 7783000-zen
- [ ] 7833498-zen
- [ ] https://wordpress.com/forums/topic/homepage-cycling-to-wordpress-backend
- [ ] 787825448-zen
- [ ] 7907379-zen
- [ ] 8058932-zen
- [ ] 8074958-zen
- [ ] 8083199-zen
- [ ] 8092573-zen
- [ ] 8079294-zen
- [ ] 8120584-zen
- [ ] 8122480-zen
- [ ] 8060676-zen
- [ ] 8030392-zen
- [ ] 8130973-zen
- [ ] 8146967-zen
- [ ] 8150495-zen
Came across this in 7480115-zd-a8c as well (Simple site, Twenty Twenty-Two, default/Blog Home homepage)
I see the same uncaught (in promise) error, as well as a GET https://public-api.wordpress.com/wp/v2/users/me?context=edit&_locale=user 404 error. Accessing the homepage template directly from the Templates list does work.
User reported this may have started sometime last Friday (December 15).
I came across a similar problem in 7479191-zd-a8c. As a temporary workaround, I suggested to the user to select a template from the sidebar after opening the Site editor, which seems to load the components correctly.
📌 REPRODUCTION RESULTS
- Tested on Simple – Replicated
- Tested on Atomic – Replicated
📌 FINDINGS/SCREENSHOTS/VIDEO
- I'm able to replicate this on each of the example sites provided, but not on my own site using any of the affected themes.
- There is no consistency between theme, Atomic status, template used by the Home page, or any other pattern that I could find.
📌 ACTIONS
- Triaged
Another report in 7488887-zd-a8c (WoA, Outland theme, Blog Home homepage template).
Got another one: 7598056-zen. Theme is Twenty Twenty-Three.
One more: 7643967-zen Theme: Creatio 2
Another report in 7614084-zd-a8c. Creatio 2 theme.
Another: 7662798-zen. Theme Varese.
Similar case with Nokul theme. 7664033-zen
Workaround: From the editor, click Templates > click the template name, click the pencil icon to edit.
7624793-zen
Site is using the Creatio theme
- [ ] 7655938-zen Theme: Pendant (Premium)
The same issue with 7726645-zen using the Skatepark theme.
7737876-zen Site uses Creatio 2 theme
7778296-zen
7762263-zen
7827298-zd-a8c Creatio2 theme. They say it did not happen until upgrading plan and site went Atomic. They were using a custom Home template. Going to Appearance > Editor Templates > Home works.
Setting a static Home page instead also allows the Site Editor to load. Deleting the static homepage and reverting back to the Home template, and the Site Editor is also still loading correctly.
It seems a workaround may be to set a static homepage, delete it, and then the Home template loads fine from Pages > All Pages or Appearance > Editor.
7827706-zd-a8c Pendant theme
7783000-zd-a8c
Theme: Tsubaki
Another report in 7833498-zd-a8c (Atomic, Creatio 2). This user also reported that the issue first started after upgrading to Creator (and going Atomic only minutes later).
User in https://wordpress.com/forums/topic/homepage-cycling-to-wordpress-backend/?view=all having a similar issue. They can't open the site editor - it redirects them to their dashboard. Using the Tronar theme
787825448-zen shared the workaround
Theme: George Lois
Another case here: 7907379-zd-a8c Theme is Twenty Twenty Three. Default homepage set in Settings → Reading.
Atomic, Pendant theme. Deactivating Gutenberg doesn't solve the issue. Provided the workaround.
I couldn't reproduce this specific issue but after trying a bunch of temples via Appearance > Editor > Templates and then going to Editor > Pages I got a blank screen. Theme is Creatio. There is a React error
I think this is separate to this issue but logging it here for now. I will continue checking then open a new ticket if necessary.
Edit. Update:
This is happening because view here in undefined. But this was a Creator site I created on April 10th that I hadn't taken Atomic. I tried to reproduce it with a new site and I can't.
Update 2:
And sometimes on the same site it works. Seems there are a series of events that breaks the newish editor UI but it's not clear what. Sometimes I see the UI below but other times after clicking around I see the blank screen above.
Another report: 8074958-zd-a8c
Theme: Twenty Twenty-Four
Same issue:
- [ ] 8083199-zen ( needs to be followed up )
Theme name: Twenty Twenty-Three
Another report: 8092573-zd-a8c
Theme: Boxed Bio
Another report in 8079294-zd-a8c on the Assembler theme. Very new site, currently Atomic.
Another report: 8120584-zd-a8c
Theme: Remote