• Hi – I am trying to create a new page on my site. I use Divi Builder as theme, but was trying to build this page using the default editor. I copied in some code to the custom html block and then tried to publish the page. When I do this I get an error message in a pink box that says – Updating failed. The response is not a valid JSON response.

    I just recently updated to the lastest version of wordpress and also the latest version of Divi. I uninstalled all plugins and then reinstalled all the ones I need. Even will all the plugins uninstalled I got the error message.

    Any help you can provide would be appreciated. Please let me know what additional information you need. Thanks!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Json is a specific dataformat, which for instance is used when Javascript talks to the server and may update parts of the page without reloading the whole page.

    And this error message is what you’ll see if a Javascript from the server gets back something that’s not fitting its expectations. In most cases, this means that your server sent back some kind of HTTP error status, or similar.

    This means that the underlying reason may be anything that makes your server choke…

    In order to get some initial hints on where to dig, you could try the following:
    1. Check the “web console” in your browser’s developer’s tools to try and find what your Javascript is actually receiving from the server, like is it a 404, 403 or, say, 500… Those are totally different sets of possible issues.
    2. Enable (TEMPORARILY) logging of PHP errors to file on your server. See https://wordpress.org/support/article/debugging-in-wordpress/ for details on how to do that.

    Those steps should give you more specific hints on what’s (not) happening.

    Thread Starter msantoferraro

    (@msantoferraro)

    Thanks – I’ll look into all of these! I appreciate your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not a Valid JSON Response error message’ is closed to new replies.