• Resolved ezzmay007

    (@ezzmay007)


    Hi Guys, im trying litespeed for the first time, and its having an issue with my woocommerce carousel plugin.

    I tried setting the “enable esi” to public and the value to zero on the widget, but it still loses its mind and starts stacking vertically instead of horizontally.

    The reason i want to turn the caching off for this slider is because on every page load, the slider displays a different product as the first in the slider so that all products on the slider get equal exposure.

    This is my log number IQDDCKOG
    and screenshots are provided
    the plugin is this one WooCommerce Product Carousel Slider Pro
    https://wpwax.com/product/woocommerce-product-carousel-slider-pro/

    I have disable all feautres turned on right now, as the plugin is breaking my site, but if someone sends a message i can turn it back for a minute or two for testing.

    Slider functioning without litespeed turned on
    Here

    slider with litespeed turned on
    here

    setting for slider widget in backend
    here

    Thanks for nay help

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    you mean if you enable ESI public on widget , and then the slider breaks ?

    Do you see any warning/error message on your browser’s dev tool when it breaks ?

    Best regards,

    Thread Starter ezzmay007

    (@ezzmay007)

    Hi Thanks, yes i see the following errors

    JQMIGRATE: Migrate is installed, version 3.3.2
    2jquery.min.js?ver=3.5.1:2 jQuery.Deferred exception: $wpcsp.owlCarousel is not a function TypeError: $wpcsp.owlCarousel is not a function
        at HTMLDocument.<anonymous> (<anonymous>:6:24)
        at e (https://www.subscriptionboxaustralia.com/wp-includes/js/jquery/jquery.min.js?ver=3.5.1:2:30005)
        at t (https://www.subscriptionboxaustralia.com/wp-includes/js/jquery/jquery.min.js?ver=3.5.1:2:30307) undefined
    S.Deferred.exceptionHook @ jquery.min.js?ver=3.5.1:2
    jquery.ticker.js?ver=1.0.0:24 Element does not exist in DOM!
    2jquery.min.js?ver=3.5.1:2 Uncaught TypeError: $wpcsp.owlCarousel is not a function
        at HTMLDocument.<anonymous> (<anonymous>:6:24)
        at e (jquery.min.js?ver=3.5.1:2)
        at t (jquery.min.js?ver=3.5.1:2)
    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    I think the cause here is that , some widget uses relative path/URI to get JS , but when it is being ESI-ized , it is a separated request , so it won’t inherited the server env like main request , so widget may not be able to get the required javascript to work properly.

    unfortunately I don’t really have any good solution for such case

    I can only suggest you a workaround, to set your page that contains the slider to a shorter TTL , like few hours , it won’t make slider change on every refresh , but it should give new content every few hours

    Best regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘slider plugin acting up’ is closed to new replies.