• Resolved wellmadeonline

    (@wellmadeonline)


    Hello, I have a problem with the following error appearing on the site:

    Uncaught (in promise) SyntaxError: Unexpected end of JSON input

    The error appears on the site only when Guest Optimization and Guest Mode are enabled. It looks like a bug in the plugin itself. Could I ask for help in solving this problem? I can provide more details if needed.

    Here are links to screenshots of the error messages and the problematic code snippet:
    https://i.imgur.com/2mu2N1i.png
    https://i.imgur.com/U3nPm9x.png

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter wellmadeonline

    (@wellmadeonline)

    Had to disable plugin for now, let me know when you will look into the issue and I will enable it again

    Plugin Support qtwrk

    (@qtwrk)

    for guest mode to work properly , please make sure this request https://crimston.pl/wp-content/plugins/litespeed-cache/guest.vary.php works

    Thread Starter wellmadeonline

    (@wellmadeonline)

    How do I make sure of that? Could you elaborate? From error in the console looks like request doesn’t work, but not sure if you referring to that?

    Plugin Support qtwrk

    (@qtwrk)

    https://crimston.pl/wp-content/plugins/litespeed-cache/guest.vary.php

    when you open it , it gives blank output , but it should give output like {"reload":"yes"}

    Thread Starter wellmadeonline

    (@wellmadeonline)

    Thank you for the information.

    Is there anything I can do to fix it?

    Plugin Support qtwrk

    (@qtwrk)

    are you have any kind of security plugin ? that is one of the common reason

    and also please check the php error log , it may give something.

    Thread Starter wellmadeonline

    (@wellmadeonline)

    @qtwrk I disabled Wordfence Security, purged all but problem persist. There are no errors in the PHP error log.

    Is there anything else I can do?

    Plugin Support qtwrk

    (@qtwrk)

    please create a sub-direcotry wordpress site , with nothing else but only LSCWP , and see if sub’s guest.vary.php works or not.

    Thread Starter wellmadeonline

    (@wellmadeonline)

    @qtwrk I just cloned the site to a subdomain, disabled all plugins, did a Purge All, unfortunately the problem is still the same.

    Even after changing the template to the default, the problem still occurs, so I assume that it is the fault of the server configuration. I’m really need help with that issue, because the be Guest Optimization site has a very poor speed test score.

    Thread Starter wellmadeonline

    (@wellmadeonline)

    @qtwrk: Any news on the subject? If not there is no point for me to use this plugin ??

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Uncaught (in promise) SyntaxError: Unexpected end of JSON input’ is closed to new replies.