Title: array_map() Error
Last modified: August 30, 2016

---

# array_map() Error

 *  Resolved [Opa114](https://wordpress.org/support/users/opa114/)
 * (@opa114)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/array_map-error/)
 * I use the latest version of Events Manager and i did regognize an error like 
   the last on with the categories of events manager enabled.
 * When i disable the categories and try to edit an old event which i have published
   and want so save it i got the following error:
 *     ```
       Warning: array_map(): Argument #2 should be an array in /..../wp/wp-includes/category-template.php on line 1158
   
       Warning: Cannot modify header information - headers already sent by (output started at /..../wp/wp-includes/category-template.php:1158) in /..../wp/wp-admin/post.php on line 197
   
       Warning: Cannot modify header information - headers already sent by (output started at /..../wp/wp-includes/category-template.php:1158) in /..../wp/wp-includes/pluggable.php on line 1228
       ```
   
 * So this error looks similiar to the last one, where WordPress 4.4 was released.
   there the array_map() Error was on the Frontend. Hope you could reproduce the
   error and fix it.
 * When i have categories enabled all works perfectly.
 * [https://wordpress.org/plugins/events-manager/](https://wordpress.org/plugins/events-manager/)

Viewing 11 replies - 16 through 26 (of 26 total)

[←](https://wordpress.org/support/topic/array_map-error/?output_format=md) [1](https://wordpress.org/support/topic/array_map-error/?output_format=md)
2

 *  [emswpuser](https://wordpress.org/support/users/emswpuser/)
 * (@emswpuser)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/array_map-error/page/2/#post-6881384)
 * WordPress 4.4, Events Manager 5.6.2 and Events Manager Pro 2.4.3
 *  [jonwolfinger](https://wordpress.org/support/users/jonwolfinger/)
 * (@jonwolfinger)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/array_map-error/page/2/#post-6881385)
 * WordPress 4.4, Events Manager 5.6.2
 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/array_map-error/page/2/#post-6881396)
 * Does enabling categories fix the problem?
 *  [jonwolfinger](https://wordpress.org/support/users/jonwolfinger/)
 * (@jonwolfinger)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/array_map-error/page/2/#post-6881397)
 * In my case yes but only for single events reoccurring events still display an
   error when publishing the event
 *  [jonwolfinger](https://wordpress.org/support/users/jonwolfinger/)
 * (@jonwolfinger)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/array_map-error/page/2/#post-6881417)
 * Update: I discovered if I enable tags as well then reoccurring events no longer
   get the error.
 *  [Marcel Oerlemans](https://wordpress.org/support/users/marceloerlemans/)
 * (@marceloerlemans)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/array_map-error/page/2/#post-6881418)
 * Could it be the issue is resolved by itself or some update? I don’t see the errors
   anymore, but I haven’t changed anything though…
 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/array_map-error/page/2/#post-6881419)
 * Have you enabled / re-enabled categories? We’ve not been able to reproduce the
   problem on our test servers so it’s hard to say exactly what’s causing the issue
   at the moment.
 *  [Gulsher_tezro](https://wordpress.org/support/users/gulsher_tezro/)
 * (@gulsher_tezro)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/array_map-error/page/2/#post-6881472)
 * I have similar error too:
 * [http://poundextra.com/](http://poundextra.com/)
 * Can anyone help me plz
 * Parse error: syntax error, unexpected ‘$jie5’ (T_VARIABLE) in /home/rishtafinders123/
   public_html/wp-includes/class-wp-tax-query.php on line 1
 *  [NikkiCasa](https://wordpress.org/support/users/nikkicasa/)
 * (@nikkicasa)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/array_map-error/page/2/#post-6881473)
 * I’m having the same issue since I updated the plugin EVENT-CALENDAR-WD, which
   is preventing me from logging into my WP site via ‘wp-admin’. Can someone help
   me, I don’t know what to do from here
 * Thank you
 *  [NikkiCasa](https://wordpress.org/support/users/nikkicasa/)
 * (@nikkicasa)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/array_map-error/page/2/#post-6881474)
 * I’m using the latest version of WordPress
 *  [NikkiCasa](https://wordpress.org/support/users/nikkicasa/)
 * (@nikkicasa)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/array_map-error/page/2/#post-6881475)
 * This is the error message :
    Warning: Cannot modify header information – headers
   already sent by (output started at /casatihomecomfort.com/wp-content/plugins/
   event-calendar-wd/includes/ecwd-display-class.php:2) in…com/wp-includes/pluggable.
   php on line 1228

Viewing 11 replies - 16 through 26 (of 26 total)

[←](https://wordpress.org/support/topic/array_map-error/?output_format=md) [1](https://wordpress.org/support/topic/array_map-error/?output_format=md)
2

The topic ‘array_map() Error’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=1039078)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

## Tags

 * [array_map()](https://wordpress.org/support/topic-tag/array_map/)
 * [categories](https://wordpress.org/support/topic-tag/categories/)

 * 26 replies
 * 8 participants
 * Last reply from: [NikkiCasa](https://wordpress.org/support/users/nikkicasa/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/array_map-error/page/2/#post-6881475)
 * Status: resolved