Home › Forums › Weaver Xtreme Theme › Updating failed. Error message: The response is not a valid JSON response.
- This topic has 11 replies, 4 voices, and was last updated 1 year, 2 months ago by
Weaver.
-
AuthorPosts
-
May 15, 2020 at 20:18 UTC - Views: 53 #64516
swmagic999
ParticipantIs 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.
thanks
May 15, 2020 at 20:37 UTC - Views: 55 #64517scrambler
ModeratorA google search returned this
https://passionwp.com/response-is-not-a-valid-json-response-error/
and this
May 15, 2020 at 23:27 UTC - Views: 48 #64519Weaver
KeymasterI don’t have any ideas on this.
May 19, 2020 at 17:45 UTC - Views: 43 #64550swmagic999
ParticipantYes 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 #68847Ned
ParticipantI 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 #68848This reply has been marked as private.June 2, 2021 at 05:06 UTC - Views: 33 #68850June 2, 2021 at 05:52 UTC - Views: 31 #68851Ned
ParticipantThanks, Scrambler, I will leave the test site up as long as necessary.
June 2, 2021 at 18:49 UTC - Views: 23 #68854Weaver
KeymasterI 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 #68855Ned
ParticipantThanks, 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 #68862Ned
ParticipantI have verified that, with an update to Gravity Forms 2.5.5.1, 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 #68864Weaver
KeymasterThanks for the follow up. I really didn’t know what show posts could have that would generate that error.
-
AuthorPosts
- You must be logged in to reply to this topic.