• Resolved Yusup Ali

    (@fileour)


    While I install Litespeed plugin, it comes the bellow error in google PageSpeed score.

    Even while disable my security plugin, then the problem still available.

    Source - …litespeed-cache/guest.vary.php:1:0(www.domain.com)
    Description - Failed to load resource: the server responded with a status of 403 (Forbidden)
    
    Source - https://www.domain.com:96:9233
    Description - SyntaxError: Identifier 'litespeed_ui_events' has already been declared
    
    Source - https://www.domain.com:1:0
    Description - SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON

    But while I disable litespeed plugin. this error is fixed.

    Please help me how to solve it?

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Did you any security plugin install?

    Thread Starter Yusup Ali

    (@fileour)

    Yes- All-In-One Security

    But while uninstall my security plugin, the problem still available.

    Okay, for your understanding. The status code 403 means, that there is any server configuration that blocks file request to guest.vary.php. In most cases a security plugin blocks this file, so it is up to you to check either your plugins or any server configuration. With guest.vary.php there is nothing special, strange or unsafe with it. You can request this file in browser and you will almost see nothing. Maybe empty [], but not more.

    Nevertheless, this is not a cache plugin related issue!

    Thread Starter Yusup Ali

    (@fileour)

    Thnks @serpentdriver

    I know you gave answered for first problem. But how to fix

    Sourcehttps://www.domain.com:96:9233 Description – SyntaxError: Identifier ‘litespeed_ui_events’ has already been declared

    Sourcehttps://www.domain.com:1:0 Description – SyntaxError: Unexpected token ‘<‘, “<!DOCTYPE “… is not valid JSON

    It could be that these two errors result from the first error with status code 403. But that can only be said with certainty when you have solved the problem with guest.vary.php.

    Thread Starter Yusup Ali

    (@fileour)

    Hi @serpentdriver

    Finally I realized that the problem occurs because I turn on guest mode.

    But the problem goes away when the guest mood is turned off. But in this case the speed is reduced a lot.

    So after turning on guest mode can’t solve the problem?

    @fileour

    Guestmode works in many, but not all cases. But that doesn’t mean it can’t work in difficult cases. In such a case, individual settings are necessary, but these only apply to individual cases. The plugin support cannot solve such special cases universally and therefore requires the individual problem solution. So feel free to contact support either via Slack https://quic.cloud/support or support@litespeedtech.com.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Browser errors were logged to the console’ is closed to new replies.