wp-calypso icon indicating copy to clipboard operation
wp-calypso copied to clipboard

Site editor: default site editor view not loading/get frozen

Open Robertght opened this issue 1 year ago • 15 comments

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:

image

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:

2yWDby.png

uIc6NT.png

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.

Robertght avatar Dec 20 '23 07:12 Robertght

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

github-actions[bot] avatar Dec 20 '23 07:12 github-actions[bot]

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).

jp-imagines avatar Dec 20 '23 20:12 jp-imagines

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.

yuliyan avatar Dec 21 '23 10:12 yuliyan

📌 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

cat-og avatar Dec 22 '23 02:12 cat-og

Another report in 7488887-zd-a8c (WoA, Outland theme, Blog Home homepage template).

jp-imagines avatar Dec 22 '23 22:12 jp-imagines

Got another one: 7598056-zen. Theme is Twenty Twenty-Three.

renata-franco avatar Jan 29 '24 11:01 renata-franco

One more: 7643967-zen Theme: Creatio 2

vinnykaur avatar Jan 29 '24 11:01 vinnykaur

Another report in 7614084-zd-a8c. Creatio 2 theme.

jp-imagines avatar Jan 29 '24 17:01 jp-imagines

Another: 7662798-zen. Theme Varese.

renata-franco avatar Jan 30 '24 12:01 renata-franco

Similar case with Nokul theme. 7664033-zen

Workaround: From the editor, click Templates > click the template name, click the pencil icon to edit.

kspilarski avatar Jan 30 '24 16:01 kspilarski

7624793-zen

Site is using the Creatio theme

druesome avatar Feb 05 '24 15:02 druesome

  • [ ] 7655938-zen Theme: Pendant (Premium)

saginpj avatar Feb 06 '24 00:02 saginpj

The same issue with 7726645-zen using the Skatepark theme.

kspilarski avatar Feb 12 '24 10:02 kspilarski

7737876-zen Site uses Creatio 2 theme

syhussaini avatar Feb 14 '24 08:02 syhussaini

7778296-zen

Robertght avatar Feb 22 '24 11:02 Robertght

7762263-zen

Robertght avatar Feb 28 '24 07:02 Robertght

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.

mgozdis avatar Mar 02 '24 22:03 mgozdis

7827706-zd-a8c Pendant theme

cat-og avatar Mar 03 '24 01:03 cat-og

7783000-zd-a8c

Theme: Tsubaki

nazilya06 avatar Mar 07 '24 07:03 nazilya06

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).

jp-imagines avatar Mar 07 '24 15:03 jp-imagines

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

csonnek avatar Mar 07 '24 19:03 csonnek

787825448-zen shared the workaround

Theme: George Lois

Robertght avatar Mar 18 '24 07:03 Robertght

Another case here: 7907379-zd-a8c Theme is Twenty Twenty Three. Default homepage set in Settings → Reading.

janmckell avatar Mar 19 '24 20:03 janmckell

8058932-zd-a8c

Atomic, Pendant theme. Deactivating Gutenberg doesn't solve the issue. Provided the workaround.

rinazrina avatar Apr 18 '24 01:04 rinazrina

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

Image

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.

Image

mpkelly avatar Apr 19 '24 07:04 mpkelly

Another report: 8074958-zd-a8c

Theme: Twenty Twenty-Four

rinazrina avatar Apr 21 '24 08:04 rinazrina

Same issue:

  • [ ] 8083199-zen ( needs to be followed up )

Theme name: Twenty Twenty-Three

mdtanjid0 avatar Apr 23 '24 09:04 mdtanjid0

Another report: 8092573-zd-a8c

Theme: Boxed Bio

upwardmomentum84 avatar Apr 24 '24 15:04 upwardmomentum84

Another report in 8079294-zd-a8c on the Assembler theme. Very new site, currently Atomic.

jp-imagines avatar Apr 24 '24 17:04 jp-imagines

Another report: 8120584-zd-a8c

Theme: Remote

philnick206 avatar Apr 29 '24 20:04 philnick206