• Resolved rodricus

    (@rodricus)


    Hello, this looks like a strange plugin. It says I can exclude JS paths, but it doesn’t work, no matter what I do.

    The page with the problem is added to the field “Link to the page you need help with”. If you check the page you notice that there is a console error “Uncaught SyntaxError: Unexpected token ‘var'” in the favorites.js script of the Favorites plugin.

    So I try to exclude this script at /wp-admin/admin.php?page=litespeed-page_optm at “JS exclusions”. When I cleared the cache and check the page in incognito browser, the “Uncaught SyntaxError: Unexpected token ‘var'” error is still there.

    Only when I turn off the Litespeed Cache plugin or when I put ?LSCWP_CTRL=NOCACHE or ?LSCWP_CTRL=before_optm behind the url of the page it DOES work.

    So what goes wrong and how are we going to solve this?

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

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘JS exclude not working’ is closed to new replies.