-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Publish or update post doesn't work with Gutenberg 2.3 and 2.4 #5660
Comments
Thanks for the issue. I can't reproduce this myself. Can I ask you to open the JavaScript console and see if there are any errors you can share? Here's how to open the console in Chrome: https://developers.google.com/web/tools/chrome-devtools/console/ |
New page, but unable to publish or save it. |
What content are you putting on the post, or is it just an empty one? Is it literally a post or is it a page or some other post type? I've been having an issue with saving drafts of / publishing posts in Gutenberg since 2.3 (and continuing into 2.4) as well, but only with certain textual content... I'm still trying to figure out precisely what causes it, and every time I try saving the post a bunch of times and get the "Updating failed" error, I end up getting temporarily banned from the server I'm using for around 30 minutes or so. (I'm not using Cloudflare like some other people who posted similar issues were.) And when trying to save the draft / publish I'm getting errors in the JavaScript console on Chromium about PUT requests involving Also, here are some similar issues I've found which may be related: |
Same issue here. (I think. Might be different one.) DetailsEnvironment details
How to reproduce
Network request data[3][4]
Console data[3]
Additional CommentsNot sure if it's related, but clicking on
Also, "Save Draft" returns HTTP 403 as well.
|
Thanks for the bug report, @burnuser and @nikola3244! I think I have a fix for this, could I get you to test #5741? If you don't have a development environment setup, you can also test with Gutenberg 2.4, by copy/pasting this function and hook into your install. |
@pento Cheers! That did it 👍 |
Closing as appears the change fixed it for folks. Please, reopen if you still see issues. |
Hi, this issue is still occurring for me. I'm not a developer in any way, so if someone can help me troubleshoot, that would be really lovely. I have a SiteGround-hosted WordPress site; WP 5.0.2 and cannot update pages. I get the "Updating failed" error in the editor, and the following console errors in the Chrome Inspector: POST /wp-json/wp/v2/pages/1242?_locale=user 403 |
Issue Overview
Wordpress 4.9.4, PHP 7.0.19, Database Percona 5.6.35
Publish or update a post doesn't work ("Updating failed") with Gutenberg 2.3 and 2.4.
Deactivating all other plugins does not help.
Changing language from German to English does not help.
Deleting Gutenberg, logout from wordpress, login again , reinstalling Gutenberg does not help.
Tried with Firefox, Chrome, Opera - does not help.
Only if I make a rollback of the plugin to version 2.2 everything works again.
The text was updated successfully, but these errors were encountered: