May 15, 2020 at 20:18 UTC - Views: 53 #64516swmagic999Participant
Is this something you guys know about?
Updating failed. Error message: The response is not a valid JSON response.
I’m only trying to change the contact-us page at https//:/chea-elks.org (if that’s relevant) and I got this when trying to save.
thanksMay 15, 2020 at 20:37 UTC - Views: 55 #64517scramblerModerator
A google search returned this
and thisMay 15, 2020 at 23:27 UTC - Views: 48 #64519
I don’t have any ideas on this.May 19, 2020 at 17:45 UTC - Views: 43 #64550swmagic999Participant
Yes Scrambler and thanks. Following their steps I just installed the classic plugin, and that fixed the issue..June 2, 2021 at 02:14 UTC - Views: 41 #68847
I have also encountered “Updating failed. The response is not a valid JSON response.”
In my case, I’ve isolated the cause to the Weaver Show Posts plugin.
On a test page, I have some lines of text and inside a shortcode block, I have: [show_posts filter=test]
When I try to update the page, I get the error. When I remove the [show_posts filter=test] from the page, I can update without error.
I have set up a test site that demonstrates this behavior consistently.
I will now post a Private Reply with login credentials so you can investigate.June 2, 2021 at 02:17 UTC - Views: 37 #68848Private ReplyNedParticipantThis reply has been marked as private.June 2, 2021 at 05:06 UTC - Views: 33 #68850June 2, 2021 at 05:52 UTC - Views: 31 #68851
Thanks, Scrambler, I will leave the test site up as long as necessary.June 2, 2021 at 18:49 UTC - Views: 23 #68854
I can see that on your test site. I don’t know exactly what the shortcode block does, but it doesn’t make much sense that this should cause an error just when saving the test page.
I seriously suspect a bug in the shortcode block, but I will try to find time to test some more. It is really hard to test out blocks from the block editor.June 2, 2021 at 21:33 UTC - Views: 24 #68855
Thanks, Weaver, the test site will be up for as much time as you need.
Today, I went into my test site and started deleting/deactivating plugins and discovered that with Gravity Forms (Version 2.5.4) deactivated, the not a valid JSON response error does not occur!
However, other shortcodes do work in the shortcode block, even with Gravity Forms (Version 2.5.4) active.
Another data point, everything worked until a few days ago. I suspect (but don’t remember exactly) the error started after I updated the Gravity Forms plugin.
Perhaps this information will help you with further troubleshooting. Thank you for your efforts so far.June 4, 2021 at 02:36 UTC - Views: 16 #68862
I have verified that, with an update to Gravity Forms 22.214.171.124, the JSON error no longer occurs with the show_posts shortcode.
I will take down my test site soon.
Thank you for taking the time to investigate.June 4, 2021 at 04:36 UTC - Views: 7 #68864
Thanks for the follow up. I really didn’t know what show posts could have that would generate that error.
- You must be logged in to reply to this topic.