Title: ARRAY MAP AND IMPLODE  ERROR WARNINGS
Last modified: August 19, 2016

---

# ARRAY MAP AND IMPLODE ERROR WARNINGS

 *  [zeechyke](https://wordpress.org/support/users/zeechyke/)
 * (@zeechyke)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/array-map-and-implode-error-warnings/)
 * Hi,
 * I just had a look at my WordPress blog today and noticed the following warning
   messages;
 * PHP Warning: array_map() [function.array-map]: Argument #2 should be an array
   in D:\virtualservers\maximise\theinstituteofwellbeing.com\wwwroot\blog\wp-includes\
   post-template.php on line 676 PHP Warning: implode() [function.implode]: Invalid
   arguments passed in D:\virtualservers\maximise\theinstituteofwellbeing.com\wwwroot\
   blog\wp-includes\post-template.php on line 677
 * What do I do to resolve this.
    Regards

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

 *  Thread Starter [zeechyke](https://wordpress.org/support/users/zeechyke/)
 * (@zeechyke)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/array-map-and-implode-error-warnings/#post-1181830)
 * Hi,
 * I just had a look at my WordPress blog today and noticed the following warning
   messages;
 * PHP Warning: array_map() [function.array-map]: Argument #2 should be an array
   in D:\…\wp-includes\post-template.php on line 676 PHP Warning: implode() [function.
   implode]: Invalid arguments passed in D:\…\wp-includes\post-template.php on line
   677
 * What do I do to resolve this.
    Regards
 *  [Mjrminor](https://wordpress.org/support/users/mjrminor/)
 * (@mjrminor)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/array-map-and-implode-error-warnings/#post-1182049)
 * I was having the same problem after upgrading from 2.7 to 2.8.4 on pages where
   I was calling the_meta() in my template to get post meta.
    After sorting through
   the wordpress code and trying some debugging, I found that it was only meta where
   there was no key (or name, in the post editor) associated with a meta value. 
   When I added a name for the meta value and updated the post, it worked. So I 
   would suggest to add a name for the post meta values on pages where you are experiencing
   the problem (and use Update Page, rather than the update for the post meta itself).
   Granted, it also displays the meta key next to the meta. I have had to do some
   custom modifications to the the_meta function and made a custom plugin to hide
   the post keys (and colons). Hope that helps!

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

The topic ‘ARRAY MAP AND IMPLODE ERROR WARNINGS’ is closed to new replies.

## Tags

 * [array](https://wordpress.org/support/topic-tag/array/)
 * [bump](https://wordpress.org/support/topic-tag/bump/)
 * [function.implode](https://wordpress.org/support/topic-tag/function-implode/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Mjrminor](https://wordpress.org/support/users/mjrminor/)
 * Last activity: [16 years, 8 months ago](https://wordpress.org/support/topic/array-map-and-implode-error-warnings/#post-1182049)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
