How do I fix the response is not a valid JSON response error in WordPress?

How do I fix the response is not a valid JSON response error in WordPress?

There is another solution you can try to fix the response is not a valid JSON response error in WordPress. Navigate to Settings > Permalinks. Change the permalink structure from post-name or the current structure to Plain i.e. https://yoursite.com/?p=123. Now try saving your post/page.

What is the response is not a valid JSON response?

If for some reason, WordPress fails to get the response, or the response is not in JSON format, then you’ll see the ‘Not a valid JSON response’ error. This error could appear for a number of reasons. However, the most likely cause of it to occur is incorrect URL settings in WordPress or broken permalinks.

What is updating failed the response is not a valid JSON response?

The most common solution for publishing or updating failed the response is not a valid JSON response error is to update your permalink structure. From your WordPress dashboard, go to Settings and then Permalinks. Then you can click on the Save Changes button to re-save or update the current permalink structure.

How to get a valid JSON response from WordPress?

All plugins and theme are updated, JSON Extension – my PHP install supports JSON. – Do you have any security plugins? Try turning them off. – Who’s your hosting service? Do they run mod_security? Ask them about it, and specify the problem to them as well, they might have a rule blocking this specific operation. Thank you for your response.

What does the response is not a valid JSON response mean?

Error message: The response is not a valid JSON response Publishing failed. Error message: The response is not a valid JSON response Can’t make a post, all the time occurs the failure ‘Publishing failed. Error message: The response is not a valid JSON response’.

How to fix the WordPress error publishing failed?

Fix the annoying WordPress error Publishing failed. The response is not a valid JSON response., Updating failed. The response is not a valid JSON response., or The response is not a valid JSON response. You may have seen these errors when trying to publish or update your WordPress posts or pages.

Why are there errors on my WordPress site?

There are many reasons for why these errors can occur to your WordPress site. It can be related to your web server, .htaccess file, SSL certificate, a plugin, a theme, or for another reason. So depending on your specific scenario, a different solution may work for you.