Fix WordPress error: update failed. Error message: “The response is not a valid JSON response”

wordpress

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
WordPress general settings

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 WordPress

4/ 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.

Sudoku Quest

There you go, now you can shine at parties…

Recent Posts

Recent Comments

Itamde is also an online programming school.

Itamde

Learn what you want, at your own pace

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

You may also be interested in…

Artificial intelligence is reshaping every pixel

Artificial intelligence is reshaping every pixel

Just a few years ago, editing a photo meant spending hours working meticulously in Photoshop, mastering layers, masks and curves. In 2026, everything has shifted. AI photo editing tools no longer settle for automatic filters — they understand image content, anticipate...

The 10 Best Free AI Tools for Developers in 2026

The 10 Best Free AI Tools for Developers in 2026

Artificial intelligence is transforming how developers write, test, and deploy code. In 2026, many AI tools are freely accessible, offering capabilities that would have seemed impossible just a few years ago. Whether you're a beginner or experienced developer, these...

CSS colors

CSS colors

CSS colors can be defined in hexadecimal. Hexadecimal uses three components: red, green, and blue. You can define colors in shorthand hexadecimal: for example #DC2 corresponds to #DDCC22. Note that some colors cannot be abbreviated. The goal is to shorten your...

Stay up to date with the latest news and developments

Access restricted content

Discover behind-the-scenes details of our projects, exclusive resources, and the progress of our creations in real time.

Sign up for our newsletter

Receive our news, creative insights, and updates from the studio directly in your inbox.

Follow us

Join our community on social media to follow our daily projects and interact with us.