• Resolved Tim Burkart

    (@bigmoxy)


    Updating failed. The response is not a valid JSON response.

    I have a site with a perfect site health score however I am receiving the above message when I try to save changes to an existing page. I have tried resaving permalinks, purging cache, closing and reopening my browser, clearing browser cache. I saw one site recommends reverting to the classic editor but I don’t want to do that. I like the block editor. Is there anything else I can do?

    I would like to add this site has only 5 plugins: Akismet, Duplicator Pro, Gravity Forms, Mai Theme Engine and W3 Total Cache. All are up to date and are pretty much my standard set of plugins that I use on other sites.

    I just went through plugin deactivation/reactivation but still experience the invalid JSON response problem.

    Thank you!

    • This topic was modified 4 years, 5 months ago by Tim Burkart.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi Tim,
    I sometimes get the message, when I leave my computer with a post open on the editing screen, then come back, make changes and then try to “Update” –
    When I click on the big W and try to access other places of the WP Admin, it turns out that my session timed out and I need to log in again.

    I am aware that is sounds wonky. It’s just a hunch…

    Thread Starter Tim Burkart

    (@bigmoxy)

    Hi Birgit, @bph

    I believe I have tried that. I have closed my browser (after logging off), cleared browser cache, login again and retry the edit/save. I am at a loss right now.

    Thanks for your input though.

    Best regards,

    Bummer.

    Do you have the Health Check & Troubleshooting plugin installed? It’s the companion to the Site Health features.
    In “Troubleshooting Mode” it allows you to disable all plugins and your theme only for the logged in administrator. The public facing site is still intact.

    This gives you a ‘quasi’ clean install of WordPress core and one default theme.
    Try again to edit your post. If it works, then you can activate your theme and test it again. Then activate one plugin at a time, until you find the culprit.

    This eliminates any plugin conflict and narrows down the discovery process…

    Once it happens again, you can also go the the Browser Console an look at the full error message there, sometime they come with additional information.
    In Chrome you can go to 3-dot menu on the top of the window on the right side. Select More Tools and Developer Tools.
    Look at the Console Tab.

    Thread Starter Tim Burkart

    (@bigmoxy)

    Hey Birgit,

    I finally had some time to pursue this in depth. The culprit was actually my external firewall! I stumbled upon that after installing the classic editor to make the one change I needed to. This time when I saved the page my firewall blocked me. I subsequently adjusted its settings, deleted the classic editor and successfully made the change using the block editor.

    Thank you for your help with this one!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Invalid JSON response’ is closed to new replies.