Title: Carousel not initialising
Last modified: August 24, 2016

---

# Carousel not initialising

 *  [mangledlollipop2](https://wordpress.org/support/users/mangledlollipop2/)
 * (@mangledlollipop2)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/carousel-not-initialising-1/)
 * Hello,
 * I’m getting three error messages using the shortcode [owl-carousel]:
 * >  Warning: Invalid argument supplied for foreach() in /home/awesome/public_html/
   > wp-content/plugins/owl-carousel/owlcarousel.php on line 294
   > Warning: array_key_exists() expects parameter 2 to be array, string given in/
   > home/awesome/public_html/wp-content/plugins/owl-carousel/owlcarousel.php on
   > line 300
   > Warning: Illegal string offset ‘category’ in /home/awesome/public_html/wp-content/
   > plugins/owl-carousel/owlcarousel.php on line 310
 * What do these mean and how do I fix this issue?
 * **Installed plugins are:**
 * Akismet
    Contact Form 7 Custom Permalinks FooGallery Owl Carousel Template NK
   Google Analytics Optimize Database after Deleting Revisions Owl Carousel Revolution
   Slider Ultimate Addons for Visual Composer Wordfence Security WordPress SEO WPBakery
   Visual Composer WP Robots Txt
 * **Theme:**
    The7.2
 * Thanks for your help!
 * [https://wordpress.org/plugins/owl-carousel/](https://wordpress.org/plugins/owl-carousel/)

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

 *  [p_r_i_m_e](https://wordpress.org/support/users/p_r_i_m_e/)
 * (@p_r_i_m_e)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/carousel-not-initialising-1/#post-5972799)
 * it will work if you add parameters to the shortcode
 *  Thread Starter [mangledlollipop2](https://wordpress.org/support/users/mangledlollipop2/)
 * (@mangledlollipop2)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/carousel-not-initialising-1/#post-5972800)
 * If I use the [owl-carousel] shortcode, I get errors and if I use the [owl-carousel
   category=”Services” items=”4″ autoPlay=”true” itemsDesktop=”1000,2″ slideSpeed
   =”1000″ loop=”true”] shortcode, I get a blank screen.

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

The topic ‘Carousel not initialising’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/owl-carousel_1ab9bc.svg)
 * [Owl Carousel](https://wordpress.org/plugins/owl-carousel/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/owl-carousel/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/owl-carousel/)
 * [Active Topics](https://wordpress.org/support/plugin/owl-carousel/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/owl-carousel/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/owl-carousel/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [mangledlollipop2](https://wordpress.org/support/users/mangledlollipop2/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/carousel-not-initialising-1/#post-5972800)
 * Status: not resolved