Title: PHP Warning: array_merge()
Last modified: August 31, 2016

---

# PHP Warning: array_merge()

 *  [sheridanmedia](https://wordpress.org/support/users/sheridanmedia/)
 * (@sheridanmedia)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/php-warning-array_merge-1/)
 * I’m getting this PHP warning from badgeos. Any suggestions on how to fix it? 
   Thanks
 * `PHP Warning: array_merge(): Argument #2 is not an array in /public/wp-content/
   plugins/badgeos/includes/ajax-functions.php on line 131`
 * [https://wordpress.org/plugins/badgeos/](https://wordpress.org/plugins/badgeos/)

Viewing 1 replies (of 1 total)

 *  [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [10 years, 2 months ago](https://wordpress.org/support/topic/php-warning-array_merge-1/#post-7252766)
 * Are you using one of the shortcodes for some achievement display? The line in
   question related to a `post__in` index, which has me thinking perhaps the `[badgeos_achievements_list]`
   shortcode and trying to show specific ones perhaps.
 * Somehow, the code isn’t receiving an array or one of the array functions we use
   is returning a non-array value somehow before we hit that line.

Viewing 1 replies (of 1 total)

The topic ‘PHP Warning: array_merge()’ is closed to new replies.

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

 * 1 reply
 * 2 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/php-warning-array_merge-1/#post-7252766)
 * Status: not resolved