-
Notifications
You must be signed in to change notification settings - Fork 4.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
Edit site is not working #36687
Comments
P.S.: None of the other plugins were installed. |
It was broken in 11.9.0 (exactly same issue as in your attached screenshots) and then fixed in 11.9.1 #36516 Now in 11.9.1 I am unable to recreate the issue and the editor is working correctly when I test it. |
I am experiencing the same problem with 11.9.1 and 5.8.2 |
Attached video of the Editor working correctly with WP 5.8.2 & Gutenberg 11.9.1 I realised after recording that I was using Firefox but it still works correctly in Edge and Chrome. 2021-11-23.15-49-17.mp4 |
I'm following here, since I have an Aino theme user who is reporting the same issue. I tested it in Chrome and I see the issue, too. |
Same problem here: Just a blank site when starting the editor. It stopped running after updating Gutenberg 11.8 to 11.9. Still not running with 12.0 WP: 5.8.2 |
I checked the permalinks: Post name was selected. I changed it to Numeric -> Editor doesn't work |
Just updatet the Gutenberg Plugin to 12.0.2. Unfortunately, the editor doesn`t run here either. Only a blank page is shown. |
Since Gutenberg Update 12.1.0 the editor is working again. Thanks. |
It's still broken for me under 12.1.0 (Appearance > Editor results in a blank screen with the Workaround is to append In other words: |
Reporting in that I'm experiencing the same problem.
@andrewstaffell's workaround works for me to show a list of templates, but I can't edit any. |
Still broken for me in 12.2.0. Error unchanged.
|
I just tried the latest in twentytwentytwo's If someone else could confirm, I'll close the issue. |
Still broken for me in 12.3.0 regardless of theme. If it'll be fixed in the next release (of Gutenberg or WP) fine! |
I tried replicating this with the following setups and couldn't:
I checked both by going to Appearance > Editor (beta) and, while viewing the site, selecting "Edit Site" in the toolbar. Of note, can't test TT2 without Gutenberg with 5.8.2 since that still requires the GB plugin to work. Can someone share their site info so I can try to track this down more? Further, please test against 5.9 RC1 if you can :) |
Can anyone else still replicate this problem? @lukecarbis @andrewstaffell @michaelbonert @ellenbauer @kafleg I cannot replicate with 5.9 RC2 with TT2 but want to be sure to follow up :) If you can share more about your setup if you can replicate, that would be great. |
My editor is still running (since Gutenberg Update 12.1.0) |
Surprisingly still broken for me in WP 5.9 RC2, regardless of theme. Even if I activate TT2 I still get a blank screen and the same error in console: Happens at both I don't know what the |
cc @noisysocks flagging for you. I cannot replicate this but others can! |
The error message sounds similar to the one in https://core.trac.wordpress.org/ticket/54507. Could you check that you have a |
I've tried messing with the permalink settings to no avail. In case it helps to debug and/or add the required sanity checks, the line of code that's failing is in
|
I am not able to replicate it now. |
I think we need to fix #37236 as a first step so that we can see what the real underlying error is in all of these cases. It's not realistic that we can do this and then fix the underlying issue in time for WP 5.9 though so I'll bump this from the board and add this issue to my list of things to look at for WP 5.9.1. |
With WP 5.9, when there is a home.html template file, the theme editor works, when there is no home.html template file I get the following error and a blank white screen:
The URL has:
With the Gutenberg plugin, and no home.html file, the editor launches with the message:
And, the top centre template/part selector does not work. The URL has:
|
We still have the WSOD in 5.9, with or without Gutenberg plugin activated, BUT when the plugin is activated we now seem to get a different error message than the The new one is:
... and that is apparently coming from
Hope this is useful! |
Very useful! Thank you so much for following up with more details. @stuffnting can you clarify what you did & why to remove your home.html template? |
I was writing a theme from scratch and started off with only index.html and single.html: the theme editor did not work. When I switched the theme over to TT2, the theme editor worked. Switching back to my theme, I looked at the error in the console, and followed the link to the code where it occurred. It was:
In particular, the line: I guessed the theme editor could not find the initial template it was looking for. I also noted that, when using TT2, the theme editor opened with home.html. So, I added home.html to my theme... BINGO, the theme editor now worked. |
Finally working for me in Gutenberg 12.6.0 (WP 5.9). No WSOD, loads Page template with homepage ready for editing. It might be that I didn't previously have a homepage set (recent local change preparing for our launch), rather than changes in 12.6.0 specifically, but I've just tried unsetting it and it still works, so not sure. |
Thanks for all of the reports; closing since all of the reporters in the issue are no longer experiencing it. |
I'm experiencing this in a blank block theme as well, while following the Low code block theme tutorial. My theme contains three files,
<?
/*
Theme Name: Practice
Author: Aadil
Description: A practice theme made for learn.wordpress.org
Version: 1.0
*/
This is what I see in the browser when I go to the site editor: (there are no javascript errors in the console) This happens with or without For reference, I'm using WordPress 6.1.1 |
Just to leave an update, I added a |
@jonathanbossenger mind taking a look here when it comes to the tutorial aspect? |
@annezazu I can confirm that with WordPress 6.1.1, creating an empty theme, with just a With debugging enabled
Nothing is logged to the debug.log, and no errors are reported to the browser console: Adding a I then rolled back to the site to WordPress 6.1 and removed the |
@jonathanbossenger are you able to retest with the latest version of Gutenberg active? I am no longer seeing any issues with Gutenberg, but am able to replicate without Gutenberg. This PR fixes the issue and will be included in 6.2. Let me know if everything is working properly with Gutenberg active and I will close out this issue. Thanks! |
@ndiego, whoops, I should have done that in my testing, shouldn't I? 🙈 I can confirm that everything works as expected with the latest version of the Gutenberg plugin (15.0.1) installed and active this is fixed, and therefore will be fixed once it's included in 6.2. |
Haha no worries, thanks for confirming @jonathanbossenger. I'm closing this one out. 💪 |
Description
While checking Twenty Twenty Two theme with the latest version of Gutenberg(org version) and while clicking on edit site, it isn't working. The blank page appears.
Screenshot of the issue,
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: