Skip to content
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

White screen that shows me nothing (solved by flushing rewrite rules) #8960

Closed
danieltj27 opened this issue Aug 14, 2018 · 14 comments
Closed
Labels
[Type] Help Request Help with setup, implementation, or "How do I?" questions.

Comments

@danieltj27
Copy link
Contributor

Describe the bug
When activating the Gutenberg plugin from the 4.9.8 callout, it takes you to a page that I assume should be the demo page judging by the URL (/wp-admin/post-new.php?gutenberg-demo) but it's just a blank white screen.

To Reproduce
Steps to reproduce the behavior:

  1. Install WordPress 4.9.8 and login
  2. Click to install Gutenberg from the callout added in 4.9.8
  3. Click to activate the plugin
  4. Redirected to a white screen

Expected behavior
I expect to see the post edit screen with the Gutenberg editor, not a blank screen.

Screenshots
Just a white screen.

Desktop (please complete the following information):

  • macOS High Sierra, Chrome 68
  • Gutenberg 3.5.0

Additional context
N/A

@danieltj27
Copy link
Contributor Author

Oops, this issue here is that as it was a new setup, the rewrite links were not flushed so the API route wasn't defined (there was a 404 in the console trying to find wp-json/wp/v2). Fixed... kind of.

@pento
Copy link
Member

pento commented Aug 14, 2018

Hey, @danieltj27.

By "kind of", do you mean it's working now, or there's something else not loading correctly?

@danieltj27
Copy link
Contributor Author

Fixed kind of in a sense of whilst it's now working fully, as Gutenberg relies on the rest API, I'd expect some kind of message alerting me that the API is unreachable (or just have Gutenberg flush permalinks on activation to try and avoid this issue altogether).

@gilesfraser123
Copy link

I have the same problem, I installed Gutenberg and now get a white editing area when I try to edit a page. I have no idea how to sort it out.

@FilRav
Copy link

FilRav commented Aug 14, 2018

White page after upgrading from version 3.4.0 to 3.5.0.
(Wordpress version 4.9.8-it with default theme Twenty Seventeen. I had also the plugin "Insert Pages" ver 3.4.2, but after reinstalling old version of Gutenberg everything work again)

@danieltj27
Copy link
Contributor Author

Go to Settings > Permalinks and click the save changes button which flushes the rewrite rules. That should solve the problem (unless it's a deeper issue).

Gutenberg (whilst it's a plugin at least) should do this for you on activation considering it completely relies on the REST API.

@FilRav
Copy link

FilRav commented Aug 14, 2018

Thank you for your quick answer. I've tried but unfortunately it doesn't solve the issue. I revert to 3.4.0 version :P

@gilesfraser123
Copy link

Doesnt solve the issue for me either. still get a white editing area.

@FilRav
Copy link

FilRav commented Aug 14, 2018

[SOLVED]
I've changed the browser from Google Chrome 49.0.2623.112 to Firefox 52.9.0 and I can edit the page as usual. There's no need to go to Settings > Permalinks to flushe changes. Thank you

@gilesfraser123
Copy link

Still doesnt do it for me. I shall leave it alone until there is an update.

@FilRav
Copy link

FilRav commented Aug 14, 2018

I noted that if a page has gallery with "Link to none" it can result to a white page (it has also a shortcode for "insert page" in my case). As soon I switched to "Link to media" in gallery options, the page becomes editable again (I have to switch browser from Firefox to Google Chrome and viceversa)

@designsimply
Copy link
Member

As Gutenberg relies on the rest API, I'd expect some kind of message alerting me that the API is unreachable.

Noting that this is being tracked in #8549.

@designsimply designsimply added the [Type] Help Request Help with setup, implementation, or "How do I?" questions. label Aug 14, 2018
@designsimply
Copy link
Member

I have been testing with 3.5.0 and have been unable to reproduce this problem in testing so far.

@gilesfraser123

Does the blank white editing area problem happen for you for all posts and pages on your site?

As a very basic troubleshooting step (and since @FilRav mentioned changing browsers helped their case), can you try clearing browser cache and cookies to see if that makes any difference for you?

If that doesn't help, are you able to check your browser console to see if any errors show up there at the time you see the problem happen?

@danieltj27
Copy link
Contributor Author

Thanks @designsimply I didn't see that issue. I'll follow that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Help Request Help with setup, implementation, or "How do I?" questions.
Projects
None yet
Development

No branches or pull requests

5 participants