Title: Plugin Break: Shows PHP Warning
Last modified: August 22, 2016

---

# Plugin Break: Shows PHP Warning

 *  Resolved [goodmuyis](https://wordpress.org/support/users/goodmuyis/)
 * (@goodmuyis)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/plugin-break-shows-php-warning/)
 *     ```
       Warning: Invalid argument supplied for foreach() in ....\wp-content\plugins\owl-carousel\owlcarousel.php on line 248
   
       Warning: array_key_exists() expects parameter 2 to be array, string given in ....\wp-content\plugins\owl-carousel\owlcarousel.php on line 254
   
       Warning: Illegal string offset 'category' in ....\wp-content\plugins\owl-carousel\owlcarousel.php on line 262
       ```
   
 * [https://wordpress.org/plugins/owl-carousel/](https://wordpress.org/plugins/owl-carousel/)

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

 *  Plugin Author [pjehan](https://wordpress.org/support/users/pjehan/)
 * (@pjehan)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/plugin-break-shows-php-warning/#post-5264516)
 * Hi,
 * How can I reproduce it?
    This problem is due to the parameters passed into the
   brackets. It should return an array and it seems to be a string there…
 * Can you post the shortcode you use for this carousel please?
 * Thx,
 *  Thread Starter [goodmuyis](https://wordpress.org/support/users/goodmuyis/)
 * (@goodmuyis)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/plugin-break-shows-php-warning/#post-5264574)
 * You are right, it just bad i did not add any parameter to the shorcode,
 * But when i read the instuction very well it works whenn i add the parameters

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

The topic ‘Plugin Break: Shows PHP Warning’ 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: [goodmuyis](https://wordpress.org/support/users/goodmuyis/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/plugin-break-shows-php-warning/#post-5264574)
 * Status: resolved