jQuery Owl Carousel: Cannot read property ‘clone’ of undefined


jQuery Owl Carousel

Home page:
http://owlcarousel2.github.io/OwlCarousel2/

Error: Cannot read property ‘clone’ of undefined
jquery-owl-carousel-cannot-read-property-clone-of-undefined

How to fix this error:
You must config loop: false for slider that has only one item.

Example: config by attributes data-*

<ul class="product-list owl-carousel" data-dots="false" data-loop="<?=count($items)>1?'true':'false'?>" data-nav = "true" data-autoplayTimeout="1000" data-autoplayHoverPause = "true" data-responsive='{"0":{"items":1},"600":{"items":3},"1000":{"items":1}}'>

Leave a Reply