• Resolved rachelklein

    (@rachelklein)


    About a week ago the carousel plugin stopped working. I can see the code in inspect on the page but the carousel isn’t displaying and I’m getting an error message. The message I’m receiving is below:

    Uncaught TypeError: jQuery(…).owlCarousel is not a function
    <anonymous> https://brivitymkt1stg.wpengine.com/:139


    It’s referencing this function:

    jQuery('#sample_slider').owlCarousel({
    responsive:{
    0:{ items:1 },
    480:{ items:1 },
    768:{ items:2 },
    980:{ items:3 },
    1200:{ items:4 },
    1500:{ items:5 }
    },
    autoplay : true,
    autoplayTimeout : 2300,
    autoplayHoverPause : true,
    smartSpeed : 500,
    fluidSpeed : 500,
    autoplaySpeed : 500,
    navSpeed : 500,
    dotsSpeed : 500,
    loop : true,
    nav : false,
    navText : ['Previous','Next'],
    dots : false,
    responsiveRefreshRate : 200,
    slideBy : 1,
    mergeFit : true,
    autoHeight : false,
    mouseDrag : true,
    touchDrag : true
    });

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author simonpedge

    (@simonpedge)

    Things you can try:
    1) Tick the “DOMContentLoaded event” checkbox (under “Other Settings” within your slider settings page)
    2) I see you are using Divi theme. Play around with the Divi Performance settings – Go to ‘Divi -> Theme Options -> Performance Tab’. Start by switching everything off here and then testing. Then you can try switching settings on one-by-one. I’ve have issues with these new Divi performance settings on a set sites with other plugins.
    3) If you have any caching/performance plugins installed that ‘combine’ JS code or ‘defer’ JS code this can cause an issue – try disabling these plugins, or switching off these features within these plugins

    Plugin Author simonpedge

    (@simonpedge)

    No further feedback on this in 2 months, so I’m assuming you managed to resolve this issue – I’m closing this topic.

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

The topic ‘Slider not working, getting error message’ is closed to new replies.