• Resolved Lauren

    (@oncecoupled)


    Hello! I see in your 2.46 notes that you’ve made a Gutenberg save fix, but we’ve just started experiencing one. We get “Updating failed. Unexpected end of JSON input” even though the post does in fact save. We’ve confirmed this is resolved when deactivating only this plugin but that it continues occurring with a default theme.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author WebFactory

    (@webfactory)

    Hi,
    Did this happen with previous versions of the plugin? We haven’t changed anything recently.

    I get this as well with the newest version. It’s only this plugin – when I deactivated it, I no longer have the issue.

    @savingtalents could you please provide your current setup of plugins, the settings of your external links, your server setup, or at least the PHP version you’re running. Any more information would be highly appreciated.

    This happens to me since version 4.26 of echo and I opened a thread and was advised to install this experimental version of 4.26 that corrected this problem and in fact it did… They promised in 4.27 to apply the fix but you can see that they have forgotten it and it is back… I leave the forum thread

    https://www.ads-software.com/support/topic/error-updating-failed-error-message-the-response-is-not-a-valid-json-reponse-3/

    Besides I have opened another current version 4.27 I hope they include the fix because it is very annoying … thanks.

    https://www.ads-software.com/support/topic/the-response-is-not-a-valid-json-reponse-is-back/

    Could you please try to do the following:

    1. Go to the External links settings page
    2. Go to the Exceptions tab.
    3. On the first option that reads “Apply settings on”, uncheck the “All contents” box.
    4. Select all the other options that appeared below (Post content, Comments, All widgets)

    Because the plugin apparently retrieves the whole page via an output buffer (that’s the only way tho, because there’s no filter or action to retrieve the whole page that’s gonna be rendered) to re-render the page with the plugin options applied over the links. BUT, if you do the other way (separately from the ‘All contents’ option) it does apply directly and only to the real filters, like the_content, the_title, and so.

    By this point I believe that another plugin installed in your setup must be using the same technique to retrieve the whole content and re-display it, and that’s why WP feels the content ends abruptly.

    So, could you please try that and let us all know if the issue has to do with the output buffer and not other filter or content retrieving.

    Hello I experienced the JSON issue under v.2.47.

    The suggested setting fixed the issue for me – https://i.imgur.com/PCZOLUS.png

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Unexpected end of JSON input’ is closed to new replies.