• Resolved goddin

    (@goddin)


    Hi, I get the “Updating Failed,,,, not a valid JSON response” error in a specific situation: when trying to add a cover image to a container. On my site, i want a to add a cover image to a container on almost every page under the page title. See https://godd.in/about/media-mentions/ or https://godd.in/projects for examples of where it worked. This all of a sudden stopped working, so that if i try to edit the cover image on the media mentions or projects page, or add an image to a container on any of the other pages i get the JSON error. If I’m not doing that then I don’t get the error. Anyone know a fix for this?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    Thread Starter goddin

    (@goddin)

    Thank you @t-p, that was a good article and i tried all the steps in there to no avail, but i do have an update and came up with a workaround based on the advice to use the classic editor vs. block editor.

    Anyone else with the Updating Failed… JSON error may want to try these steps.

    1. Download the classic editor plugin.
    2. On a multisite, go into the network admin account under Network Settings and allow and select block editor as the default and check the box allowing site admins to change settings.
    3. Go to the site you’re working on with the JSON issue, go to Writing Settings and select option to allow users to switch editors.
    4. Go to the page with the JSON error, edit it in block mode and make the changes that result in the JSON error. Your edits cannot be committed to the database because of this error and in my case the changes aren’t available in the classic editor at all, however, the workaround is to view the code for that page, select all the code and copy, exit out of the page edit screen.
    5. Go back to that page under classic editor, click on Text view which is code view, replace the code with what you just copied, update the page and your block edits will be committed to the database with no problem.

    Relatively simple but a big time suck. Hope this helps others out.

    Moderator t-p

    (@t-p)

    Glad you got it sorted ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Updating Failed … not a valid JSON response’ is closed to new replies.