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

Unable to save changes to posts ,Firefox browser is used #12208

Closed
anmol257 opened this issue Nov 22, 2018 · 10 comments
Closed

Unable to save changes to posts ,Firefox browser is used #12208

anmol257 opened this issue Nov 22, 2018 · 10 comments
Labels
[Type] Help Request Help with setup, implementation, or "How do I?" questions.

Comments

@anmol257
Copy link

anmol257 commented Nov 22, 2018

No description provided.

@anmol257 anmol257 changed the title Unable to save changes Unable to save changes to posts ,Firefox browser is used Nov 22, 2018
@anmol257
Copy link
Author

image

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

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.

@anmol257
Copy link
Author

image
Screeenshoot after adding wp-json

@anmol257
Copy link
Author

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

_

@dcleek
Copy link

dcleek commented Dec 5, 2018

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
Copy link

dcleek commented Dec 7, 2018

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

@anmol257
Copy link
Author

its solved.Thanks

@designsimply
Copy link
Member

@anmol257 how did you solve this?

@anmol257
Copy link
Author

It got solved automatically.

@eduardoarandah
Copy link

Go to: /wp-json

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

Test /wp-json again

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

4 participants