Title: Error: Warning: array_map()
Last modified: February 20, 2019

---

# Error: Warning: array_map()

 *  Resolved [b…b](https://wordpress.org/support/users/bb-4/)
 * (@bb-4)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/error-warning-array_map-2/)
 * Great plugin.
 * I finally decided to switch this website to https: [https://downtownlakeorion.org/business-directory/](https://downtownlakeorion.org/business-directory/)
 * Do you know why I get these errors, on the page using shortcode for the connections
   plugin?
 * Warning: array_map(): Argument #2 should be an array in /home/downtown/public_html/
   wp-content/plugins/connections/includes/shortcode/class.shortcode-connections.
   php on line 135
 * Warning: array_map(): Argument #2 should be an array in /home/downtown/public_html/
   wp-content/plugins/connections/includes/shortcode/class.shortcode-connections.
   php on line 136
 * etc…
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-warning-array_map-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Steven](https://wordpress.org/support/users/shazahm1hotmailcom/)
 * (@shazahm1hotmailcom)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/error-warning-array_map-2/#post-11228065)
 * [@bb-4](https://wordpress.org/support/users/bb-4/)
 * Yesterday I released version 8.38 for about an hour and rolled back to the previous
   release when it came to my attention that under certain circumstances these notices
   would be generated.
 * You can roll back to 8.38 or wait until later today when 8.38.1 is release which
   accounts for the circumstances this notice is created.
 * Apologies for the trouble!
 * PS. It is considered a best practice to not display PHP warnings/errors on a 
   live site. Here is a link to a tutorial which explains how these can be turned
   off.
 * [https://connections-pro.com/faqs/hide-php-warnings-notices/](https://connections-pro.com/faqs/hide-php-warnings-notices/)
 *  Thread Starter [b…b](https://wordpress.org/support/users/bb-4/)
 * (@bb-4)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/error-warning-array_map-2/#post-11228227)
 * Thanks for the quick reply and the link about hiding PHP warnings.
 * My timing was bad. I’ll try the update later today.

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

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

 * ![](https://s.w.org/plugins/geopattern-icon/connections_2b7e99.svg)
 * [Connections Business Directory](https://wordpress.org/plugins/connections/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/connections/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/connections/)
 * [Active Topics](https://wordpress.org/support/plugin/connections/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/connections/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/connections/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [b…b](https://wordpress.org/support/users/bb-4/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/error-warning-array_map-2/#post-11228227)
 * Status: resolved