• Resolved jami23

    (@jami23)


    Hello,

    Your plugin is not compatible with LiteSpeed Cache. It works with this plugin even when the page is cached for about 24 hours, but then it stops working. When the “add to wishlist” button is clicked, nothing happens.

    In the console, I am getting this error:

    TypeError: Cannot read properties of undefined (reading ‘fragments’)
    at Object.success (frontend.js?ver=4.8.7:198:27)
    at c (jquery.min.js?ver=3.7.1:2:25304)
    at Object.fireWith as resolveWith
    at l (jquery.min.js?ver=3.7.1:2:77782)
    at XMLHttpRequest. (jquery.min.js?ver=3.7.1:2:80265)

    I tried excluding frontend.js, but it did not help. I suspect it’s a nonce issue. Can you give advice on what can solve this?

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Janilyn T

    (@janilyn409)

    Hi @jami23 ,

    Thanks for letting us know.

    I will write a report to our developers so that they can investigate this case and fix it.

    Please check back when you find a new update.

    Best regards.

    Thread Starter jami23

    (@jami23)

    Hi, okay, thank you. I think it’s related to nonces, because whenever I purge cache, it works just fine. After about 24 hours it stop working. I have tried excluding woosw-security, but it did not help. Are there any other nonces I should exclude?

    Plugin Support Janilyn T

    (@janilyn409)

    Hi @jami23 ,

    Sorry but I cannot provide any further information for your case as I’m not a technical support.

    However, I have sent a report to our developers. They said they would check it again and provide a fix asap.

    Best regards.

    Hi Jami23,

    You’re right: probably another issue with nonces …
    By the way, that’s nonce’s issues that make this plugin NOT compatible with ESI of Litespeed. And that’s too bad !
    The wishlist plugin of YITH had solved this kind of problems and is compatible with LS (and ESI feature), that’s why I don’t understand why WPC who made a good and friendly plugin, does not work with LS developers for also making their plugin compatible with Litespeed …
    WPC has been aware of this for months !

    I hope they’ll take this issue seriously: litespeed is still widely used !

    Thread Starter jami23

    (@jami23)

    Hi @joy0114,

    I resolved it by adding woosw-security in litespeed ESI nonces.
    If you use also perfmatters as me, perfmatters script manager must be disabled.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Litespeed cache compatibility’ is closed to new replies.