Uncaught TypeError: undefined is not a function - Owl carousel

jquery, owl-carousel

Solution

Which means your plugin is not included

include the below things in the same priority order

- jQuery

- owlCarousel

Also make sure that the script links are not giving `404`

Problem

I'm using: - wordpress site - owl carousel plugin Here is the JQuery code I'm using: ``` $(document).ready(function() { $("#owl-images").owlCarousel({ items : 3, itemsDesktop : [1199,3], itemsDesktopSmall: [979,2], itemsTablet : [768,1], lazyLoad : true, navigation : false, autoPlay : true, autoHeight: true }); }); $(document).ready(function() { $("#owl-videos").owlCarousel({ items : 3, itemsDesktop : [1199,3], itemsDesktopSmall: [979,2], itemsTablet : [768,1], lazyLoad : true, navigation : false, autoPlay : true, autoHeight: true }); }); ``` I've read that wordpress conflits with jquery in this question but I even changed to: ``` jQuery(document).ready(function() { jQuery("#owl-images").owlCarousel({ items : 3, itemsDesktop : [1199,3], itemsDesktopSmall: [979,2], itemsTablet : [768,1], lazyLoad : true, navigation : false, autoPlay : true, autoHeight: true }); }); jQuery(document).ready(function() { jQuery("#owl-videos").owlCarousel({ items : 3, itemsDesktop : [1199,3], itemsDesktopSmall: [979,2], itemsTablet : [768,1], lazyLoad : true, navigation : false, autoPlay : true, autoHeight: true }); }); ``` But still not working, still getting Uncaught TypeError: undefined is not a function

Original source

Related problems