May 13, 2020

WordPress error “Updating failed” when saving pages

I have had a small support job come in a number of times since WordPress officially embraced Gutenburg. When trying to save a page the user receives a WordPress error “Updating failed”. The issue usually comes up after a wordpress upgrade, server upgrade, or server move but it can occasionally appear seemingly out of no where.

The Issue

Settings wordpress permalinks

When trying to create or update a page, an error appear at the top of page

Updating failed. Error Message: The response is not a valid JSON response

The Fix

Setting Wordpress permalink to Post Name

Head to the Settings menu and select Permalinks.

Displaying the Save Button

rom there it is usually just a matter of pressing Save Changes and you are back in business. If this does not fix the issue you may have something a little more serious happening with your server configuration.

You will occasionally find a notice on the permalink page advising that changes cannot be made as the server does not have write access to a particular file (the .htaccess file). In this instance, it might be best to contact your host or web developer. If you are still having issues please feel free to contact me here.


Profile picture

Written by Nick La Rosa who lives and works in Sydney building useful things. You should follow them on Twitter