Gutenberg “Updating Failed”
-
Alright, I’ve looked through every post I can find about this error and haven’t found any useful solutions so I guess I’ll make my own post.
We have a dev site that has WordPress 5.0.2 installed and its running on PHP 7.0.33. It is a fresh install with 2 plugins but no plugins are active at this time. When attempting to create a page/post it throws an “Updating Failed” or a “Publishing Failed” error. I also cannot preview anything but I think this has something to do with WordPress not having a save to pull the preview from so I think this is a symptom of the main updating failed issue.
First I had issues with 404’s coming from the REST API calls but I ended up getting that resolved. Server logs are not throwing any errors at all after that. I am getting Javascript errors though:
Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0
redux-routine.min.js?ver=3.0.3:1 Uncaught (in promise) Error: [object Object]
Those errors show up immediately upon loading the page.
I get another Javascript error when I click the editor to start typing:
editor.min.js?ver=9.0.6:12 Uncaught (in promise) {code: "invalid_json", message: "The response is not a valid JSON response."}
The javascript errors have an arrow that expands to show more information but I’m not sure its very helpful information. Here is a sample of what all of it looks like:
Promise.then (async) n @ data.min.js?ver=4.1.0:1 c @ data.min.js?ver=4.1.0:1 (anonymous) @ data.min.js?ver=4.1.0:1 (anonymous) @ data.min.js?ver=4.1.0:1 a @ data.min.js?ver=4.1.0:1 (anonymous) @ data.min.js?ver=4.1.0:1 (anonymous) @ data.min.js?ver=4.1.0:1 (anonymous) @ editor.min.js?ver=9.0.6:55 n @ data.min.js?ver=4.1.0:1
and that sort of stuff continues for many lines.
The network tab has all status code 200’s and 304’s.
I’m using Chrome. I thought it might be some weird Chrome Extension thing but I opened an incognito window that has no browser extensions and had the same issues.
I think I covered everything in here, let me know if there is any more information I can provide that may be helpful, I’m all ears at this point.
Thanks,
Travis
- The topic ‘Gutenberg “Updating Failed”’ is closed to new replies.