Title: WP 4.4 throws array errors on my Carousel
Last modified: August 30, 2016

---

# WP 4.4 throws array errors on my Carousel

 *  Resolved [nrbailey](https://wordpress.org/support/users/nrbailey/)
 * (@nrbailey)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp-44-throws-array-errors-on-my-carousel/)
 * Hello,
 * My site is here: [http://ncbr.org/](http://ncbr.org/)
 * Upgrading to WP 4.4 this morning made a mess of my Carousel. I have since reverted
   back to WP 4.3. If you go to my home page you can see my working carousel under“
   Available Boxers” near the top of the page.
 * When 4.4 is installed, the page prints a list of this error (one for each element
   in my carousel) above the carousel:
    **Warning**: array_map(): Argument #2 should
   be an array in **/home/ncbr1/public_html/wp-includes/category-template.php** 
   on line **1158**
 * Here is a partial screen shot: [http://nrbailey.com/WP4-4_screenshot.png](http://nrbailey.com/WP4-4_screenshot.png)
 * I realize the named file isn’t part of your code, so maybe this is a problem 
   for the WP team? Please advise.
 * Thank you!
 * [https://wordpress.org/plugins/wp-posts-carousel/](https://wordpress.org/plugins/wp-posts-carousel/)

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

 *  [Jenxi Seow](https://wordpress.org/support/users/jenxi/)
 * (@jenxi)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp-44-throws-array-errors-on-my-carousel/#post-6830307)
 * I’m having the same issue. The error goes away once I remove the widget.
 *  Plugin Author [teastudio.pl](https://wordpress.org/support/users/teastudiopl/)
 * (@teastudiopl)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp-44-throws-array-errors-on-my-carousel/#post-6830309)
 * this plugin is compatible up to: 4.3, so please wait for the update.
 *  Plugin Author [teastudio.pl](https://wordpress.org/support/users/teastudiopl/)
 * (@teastudiopl)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp-44-throws-array-errors-on-my-carousel/#post-6830311)
 * [@nrbailey](https://wordpress.org/support/users/nrbailey/), please go to Settings-
   > WP Posts Carousel and select to include FontAwesome 😉 you don’t have arrows
   in the carousel navigation
 *  Thread Starter [nrbailey](https://wordpress.org/support/users/nrbailey/)
 * (@nrbailey)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp-44-throws-array-errors-on-my-carousel/#post-6830312)
 * > this plugin is compatible up to: 4.3, so please wait for the update.
 * > [@nrbailey](https://wordpress.org/support/users/nrbailey/), please go to Settings-
   > WP Posts Carousel and select
    > to include FontAwesome 😉 you don’t have arrows
   in the carousel > navigation
 * Thank you!!!
 *  Thread Starter [nrbailey](https://wordpress.org/support/users/nrbailey/)
 * (@nrbailey)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/wp-44-throws-array-errors-on-my-carousel/#post-6830510)
 * Hello,
 * I installed WP Carousel 1.2.4 this morning, then upgraded to WP 4.4 and am still
   getting the error:
 * **Warning**: array_map(): Argument #2 should be an array in **/home/ncbr1/public_html/
   wp-includes/category-template.php** on line **1158**
 * I have reverted back to WP 4.3, where the carousel works as expected (v. 1.2.4).
 * Thank you,
    Nikki
 *  Plugin Author [teastudio.pl](https://wordpress.org/support/users/teastudiopl/)
 * (@teastudiopl)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/wp-44-throws-array-errors-on-my-carousel/#post-6830511)
 * ok, can you enable an ftp connection to your plugins directory?
    it’s connected
   to selected post type. Please contact by email [m.gierada@teastudio.pl](https://wordpress.org/support/topic/wp-44-throws-array-errors-on-my-carousel/m.gierada@teastudio.pl?output_format=md)
 *  Plugin Author [teastudio.pl](https://wordpress.org/support/users/teastudiopl/)
 * (@teastudiopl)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/wp-44-throws-array-errors-on-my-carousel/#post-6830512)
 * or please try this solution: [https://wpbeaches.com/warning-array_map-argument-2-should-be-an-array-wp-includescategory-template-php-on-line-1158/](https://wpbeaches.com/warning-array_map-argument-2-should-be-an-array-wp-includescategory-template-php-on-line-1158/)
 *  Plugin Author [teastudio.pl](https://wordpress.org/support/users/teastudiopl/)
 * (@teastudiopl)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/wp-44-throws-array-errors-on-my-carousel/#post-6830513)
 * please check the new version (1.2.5) with small fix.
    it should be all fine 🙂
 * Let me know.
 *  Plugin Author [teastudio.pl](https://wordpress.org/support/users/teastudiopl/)
 * (@teastudiopl)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/wp-44-throws-array-errors-on-my-carousel/#post-6830533)
 * close

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

The topic ‘WP 4.4 throws array errors on my Carousel’ is closed to new replies.

 * ![](https://ps.w.org/wp-posts-carousel/assets/icon-128x128.png?rev=1154352)
 * [WP Posts Carousel](https://wordpress.org/plugins/wp-posts-carousel/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-posts-carousel/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-posts-carousel/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-posts-carousel/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-posts-carousel/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-posts-carousel/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [teastudio.pl](https://wordpress.org/support/users/teastudiopl/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/wp-44-throws-array-errors-on-my-carousel/#post-6830533)
 * Status: resolved