The message “Update failed. Error message: The response is not a valid JSON response” is an unfortunately common bug in WordPress 5.x versions (5.0, 5.1, 5.2, 5.3, up to 6.4 to date).
Upon checking, however, you will notice that the images in your article were correctly uploaded to the CMS, but the post you want to write is not saved.
How did you fix it? Here are our strategies!
5 solutions are available to get rid of it:
1/ Fix the permalinks
- In the WordPress admin panel, go to Settings then Permalinks
- Select Day and name
- Save changes
- On the same page, this time select Post name
- Save changes
Fixed! Goodbye WordPress JSON update error. This solution worked for me on multiple sites.
2/ Check the general settings
- In the WordPress admin panel, go to Settings then General
- Verify that the following 2 fields are identical:
- Save changes

3/ Check the .htaccess file
If you get an error when visiting a URL like: https://yoursitename.com/wp-json, then there is likely an issue with your .htaccess file. The .htaccess file is located at the root of your WordPress installation. Open it with a text editor and make sure it contains the following code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress4/ Revert to the old WordPress editor
If none of the 3 previous solutions had a positive effect, then it is easier to revert to the old WordPress visual editor. To do this, simply install the Classic Editor plugin.
5/ Disable all plugins and reactivate them one by one
Another option is to disable all the plugins on your WordPress site and then reactivate them one by one. This helps detect potential conflicts between plugins that could be causing the JSON update issue.

There you go, now you can shine at parties…






0 Comments