gutenberg icon indicating copy to clipboard operation
gutenberg copied to clipboard

Unable to save changes to posts ,Firefox browser is used

Open anmol257 opened this issue 8 years ago • 10 comments

anmol257 avatar Nov 22 '18 09:11 anmol257

image

anmol257 avatar Nov 22 '18 09:11 anmol257

Sorry to hear about the trouble! An "Updating failed" error can be caused by something local to your web server blocking your site's API or it can be caused by an incompatible server configuration or a plugin conflict.

First, check to make sure your site's API is working properly. You can do that by adding wp-json to the end of your site URL—if you get back an error, you will need to investigate why the API is not working for your site. Otherwise, you should just see a whole lot of text.

Next, check the console panel in your browser's web development tools at the time you see the "Updating failed" error appear. Sometimes an error will appear there that can help pinpoint the problem. If you spot an error, copy it into a reply here or take a screenshot and drop it into a reply.

designsimply avatar Nov 23 '18 18:11 designsimply

image Screeenshoot after adding wp-json

anmol257 avatar Nov 25 '18 08:11 anmol257

Web Console -

_

JQMIGRATE: Migrate is installed, version 1.4.1 _static:9:542 Firefox can’t establish a connection to the server at wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data. rest-proxy:6:4259 Unhandled promise rejection undefined _static:788:29718 Unhandled promise rejection undefined _static:788:29718 Firefox can’t establish a connection to the server at wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data. rest-proxy:6:4259 Unhandled promise rejection undefined

_

anmol257 avatar Nov 25 '18 08:11 anmol257

I have a similar issue. Neither Auto-Save or Publish work. I get "Updating failed" and "Publishing failed." I also cannot preview Gutenberg created posts/pages. I get the logo animation, but nothing loads.

Adding wp-json works correctly. Here are the console messages when on the page:

Unhandled promise rejection Error: "[object Response]" r http://myhousechurch.org/wp-content/plugins/gutenberg/build/redux-routine/index.js?ver=1544023174:1:3322 r http://myhousechurch.org/wp-content/plugins/gutenberg/build/redux-routine/index.js?ver=1544023174:1:3280 j http://myhousechurch.org/wp-content/plugins/gutenberg/vendor/wp-polyfill.min.2ae96136.js:2:29352 j http://myhousechurch.org/wp-content/plugins/gutenberg/vendor/wp-polyfill.min.2ae96136.js:2:29220 f http://myhousechurch.org/wp-content/plugins/gutenberg/vendor/wp-polyfill.min.2ae96136.js:1:20743 wp-polyfill.min.2ae96136.js:2:29718

Unhandled promise rejection Error: "[object Object]" r http://myhousechurch.org/wp-content/plugins/gutenberg/build/redux-routine/index.js?ver=1544023174:1:3322 r http://myhousechurch.org/wp-content/plugins/gutenberg/build/redux-routine/index.js?ver=1544023174:1:3280 j http://myhousechurch.org/wp-content/plugins/gutenberg/vendor/wp-polyfill.min.2ae96136.js:2:29352 j http://myhousechurch.org/wp-content/plugins/gutenberg/vendor/wp-polyfill.min.2ae96136.js:2:29220 f http://myhousechurch.org/wp-content/plugins/gutenberg/vendor/wp-polyfill.min.2ae96136.js:1:20743 wp-polyfill.min.2ae96136.js:2:29718

Source map error: request failed with status 404 Resource URL: https://img1.wsimg.com/tcc/tcc_l.combined.1.0.6.min.js Source Map URL: tcc_l.combined.1.0.6.min.js.map[Learn More]

When I hit Publish, I get a duplicate "[object Object]" message.

Thank you for any help you can provide!

dcleek avatar Dec 05 '18 15:12 dcleek

Update: adding wp-json to the end of the URL works, but when I add a trailing slash, I receive a 500 error.

dcleek avatar Dec 07 '18 04:12 dcleek

its solved.Thanks

anmol257 avatar Dec 20 '18 09:12 anmol257

@anmol257 how did you solve this?

designsimply avatar Dec 20 '18 22:12 designsimply

It got solved automatically.

anmol257 avatar Dec 21 '18 06:12 anmol257

Go to: /wp-json

If giving error, go to permalinks and click save wp-admin/options-permalink.php

Test /wp-json again

eduardoarandah avatar Mar 01 '19 22:03 eduardoarandah