• Skip to primary navigation
  • Skip to main content
  • Skip to footer

WPJohnny

WordPress Performance Guides and Reviews

  • Start a WordPress site
  • Hosting
  • Themes
  • Plugins
  • Blogging
  • Marketing

Fixing WordPress post edit errors – “not a valid JSON response”

WordPress development Nov 23, 2023 by Johnny 8 Comments

Can’t save changes to your post? I got the fixes for you these error messages:

  • “Updating failed. Error message. The response is not a valid JSON response.”
  • or “Looks like something’s gone wrong. Wait a couple seconds.”

Try these troubleshooting steps:

1. Check website address:

  • Go to Dashboard > Settings > General
  • Make sure the WordPress Address (URL) and Site Address (URL) are the same.

2. Check HTTPS status:

  • Make sure you have SSL certificates generated and that you don’t have mixed content issues.

3. Save permalinks:

  • Go to Dashboard > Settings > Permalinks.
  • Hit [SAVE] twice.

4. Regenerate .htaccess file:

  • You can restore from a backup.
  • Or make a new one, using the default. (And then go save permalinks again.)

5. Disable WAF firewalls:

  • This might be from your webhost (such as mod_security) or a security plugin.

Share this post:

Share on FacebookShare on X (Twitter)Share on LinkedInShare on WhatsAppShare on EmailShare on SMS

Read all my posts on WordPress development

About Johnny

Right on the edge of WordPress development! 10+ years of WordPress design, development, hosting, speed optimization, product advisor, marketing, monetization. I do all that.

More WordPress Guides

LiteSpeed Cache WordPress Plugin – UNOFFICIAL GUIDE

Thesis Theme Review

BeyondHosting Review – REALLY BAD MANAGED VPS

SEO vs PPC – which is better for getting web traffic

Recovering from a HACKED web server (Linux)

How to get FREE STUFF on Amazon

Reader Interactions

8 Comments

  1. Mukesh Patel

    November 23, 2023 at 11:31 am

    This is the most embarrassing error I every faced

    Reply
    • Miroslav Bartík

      November 23, 2023 at 11:46 am

      But unfortunately very common..

      Reply
      • Mukesh Patel

        November 23, 2023 at 7:17 pm

        Yes

        Reply
  2. Mahesh Gohil

    December 4, 2023 at 4:12 am

    Hi , !
    I wan to my website on Powerful system what can handle tech and human both ! When you say genesis is the first choice…I try to buy it….and recently I bought bizbuddung lifetime …bundle !
    I know some coding work , but not expert ! No need complicated work on my site ! There is just content and some earning links ! Download links !
    Please suggest me…I should go with genesis based bizbuddung bundle or it’s just not make for me !
    Help me !

    Reply
  3. Mahesh Gohil

    December 4, 2023 at 4:14 am

    If you can post a review about bizbuddung theme and mai engine , it’s very helpful !
    Thanks !!

    Reply
  4. Pintu Biswas

    December 12, 2023 at 11:56 pm

    I’ve got this error message:

    “Publishing failed and invalid JSON response” upon updating or publishing posts or pages

    This happened since I’d changed the permalink type. If I revert the setting to the previous one, it works just fine.

    Reply
    • Johnny

      December 14, 2023 at 12:34 am

      So this sounds like maybe your htaccess isn’t writeable?

      Reply
  5. Ayush

    September 10, 2024 at 3:47 am

    Hi, I got this issue on my wordpress website.
    Can you tell me some other ways to fix this?
    Thanks

    Reply

Leave a Reply to Mukesh Patel Cancel reply

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

Footer

More links

  • Gadget reviews
  • Try my free WPJ plugins
  • Join the WPJ FB Group
  • WPJ YouTube & newsletter
  • Become a WPJ Affiliate

Popular Reviews

  • Best WordPress Hosting
  • Best WordPress Themes
  • Best WordPress Plugins
  • Best WordPress Cache Plugins

Services

  • Speed optimization
  • Speed optimization courses
  • WordPress hosting
  • Hire me or other experts
  • Client login

About Johnny

10+ years of WordPress design, development, hosting, speed optimization, marketing.
Contact me.

newsletter block

Copyright 2025 | WordPress guides by Johnny Nguyen

Click to Copy