To fix, revert the latest commit:
Remove lines 122 and from 155 to 187 from /models/InstapageCmsPluginDebugLogModel.php
Remove lines from 115 to 140 from /templates/log.php
I have the same problem : “Couldn’t parse response.”
I’ve tried your solution to revert the latest commit, but it doesn’t changes anything.
@freeben
This is a bug in the instapage plugin, I’m unable to find where I can report it to instapage so I’m writing it here.
Go to the file /wp-content/plugins/instapage/InstapageCmsPluginAjaxController.php
On line 339 there will be a InstapageCmsPluginHelper::checkResponse($response)
change it to
InstapageCmsPluginHelper::checkResponse($response, ”, false)
This is because this call echoes the response, resulting in two concatenated JSON responses in one http request which obviously results in a “can’t parse” error.
-
This reply was modified 7 years, 10 months ago by
YuriKolovsky.
@freeben, @yurikolovsky, you are referring to a different issue than @cife1 one, but good catch anyway.