Title: Warning: array_merge() [function.array-merge]: Argument #1 is not an array
Last modified: August 20, 2016

---

# Warning: array_merge() [function.array-merge]: Argument #1 is not an array

 *  [Eric Karkovack](https://wordpress.org/support/users/karks88/)
 * (@karks88)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/warning-array_merge-functionarray-merge-argument-1-is-not-an-array/)
 * After protecting some categories with UAM, I now receive the following error 
   when trying to use a widget to list headlines of recent (unprotected) posts:
 * `Warning: array_merge() [function.array-merge]: Argument #1 is not an array in/
   xxxx/wp-content/plugins/user-access-manager/class/UserAccessManager.class.php
   on line 1430`
 * I’ve seen that other folks have had a similar problem, but I haven’t found a 
   solution. Has anyone found a way around this?
 * [http://wordpress.org/extend/plugins/user-access-manager/](http://wordpress.org/extend/plugins/user-access-manager/)

Viewing 1 replies (of 1 total)

 *  [MikeToner](https://wordpress.org/support/users/miketoner/)
 * (@miketoner)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/warning-array_merge-functionarray-merge-argument-1-is-not-an-array/#post-3137011)
 * Yes! I have found a way.
 * I had to find the line in the plugin editor that was causing the error. In your
   case, line 1430 of the User Access Manager. In my case, line 570 of the Advanced
   Access Manager.
 * I added the ((array in the proper location following these instructions and the
   error disappeared:
 * [http://icode4you.net/fixing-the-warning-array_merge-function-array-merge-error-in-wordpresss-wp-ecommerce-plugin](http://icode4you.net/fixing-the-warning-array_merge-function-array-merge-error-in-wordpresss-wp-ecommerce-plugin)

Viewing 1 replies (of 1 total)

The topic ‘Warning: array_merge() [function.array-merge]: Argument #1 is not an 
array’ is closed to new replies.

 * ![](https://ps.w.org/user-access-manager/assets/icon.svg?rev=1563783)
 * [User Access Manager](https://wordpress.org/plugins/user-access-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-access-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-access-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/user-access-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-access-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-access-manager/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [MikeToner](https://wordpress.org/support/users/miketoner/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/warning-array_merge-functionarray-merge-argument-1-is-not-an-array/#post-3137011)
 * Status: not resolved