May 15, 2020 at 20:18 UTC - Views: 63 #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: 66 #64517scramblerModerator
A google search returned this
and thisMay 15, 2020 at 23:27 UTC - Views: 58 #64519
I don’t have any ideas on this.May 19, 2020 at 17:45 UTC - Views: 53 #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: 54 #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: 47 #68848Private ReplyNedParticipantThis reply has been marked as private.June 2, 2021 at 05:06 UTC - Views: 43 #68850June 2, 2021 at 05:52 UTC - Views: 41 #68851
Thanks, Scrambler, I will leave the test site up as long as necessary.June 2, 2021 at 18:49 UTC - Views: 33 #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: 35 #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: 27 #68862
I have verified that, with an update to Gravity Forms 18.104.22.168, 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: 17 #68864
Thanks for the follow up. I really didn’t know what show posts could have that would generate that error.January 12, 2023 at 15:42 UTC - Views: 10 #71555elrond532000Participant
I to have been receiving this The response is not a valid JSON response, on pages where I have included the show_posts tag.
I have lived with the message for several years, the page updated, but the error message would appear, and when I went to edit the post, there would be a notification The backup of this post in your browser is different from the version below.
Annoying, but it worked.
I eventually found that it was the NextGen gallery plugin causing the issue. Unfortunately, I run a multi-site WordPress system. I am trying to understand what in the editor is being parsed by Nextgen to cause this error.January 12, 2023 at 16:14 UTC - Views: 7 #71556elrond532000Participant
I checked the Nextgen support forum and added this to wp-config.php
Seems to have solved the problem
- You must be logged in to reply to this topic.