Title: User groups: Wrong parameter count for array_unique()
Last modified: August 20, 2016

---

# User groups: Wrong parameter count for array_unique()

 *  Resolved [dchesterton](https://wordpress.org/support/users/dchesterton/)
 * (@dchesterton)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/user-groups-wrong-parameter-count-for-array_unique/)
 * I’m getting the following error when saving a user:
 * > Warning: Wrong parameter count for array_unique() in /home/galleon/www/www.
   > galleonnews.com/public_html/wp-content/plugins/edit-flow/modules/user-groups/
   > user-groups.php on line 908
 * I’m running PHP 5.2.6 which appears to not support the second parameter on array_unique,
   but I believe Edit Flow [supports](http://wordpress.org/support/topic/plugin-edit-flow-php-52-compatible?replies=3)
   5.2.x?
 * I’ve lost all of my user groups due to this error. I’ve removed the second parameter
   for now so the site works, which is obviously not an ideal solution.
 * [http://wordpress.org/extend/plugins/edit-flow/](http://wordpress.org/extend/plugins/edit-flow/)

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

 *  Plugin Contributor [Daniel Bachhuber](https://wordpress.org/support/users/danielbachhuber/)
 * (@danielbachhuber)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/user-groups-wrong-parameter-count-for-array_unique/#post-3230149)
 * > I’ve lost all of my user groups due to this error.
 * Bummer, sorry about that 🙁
 * > I believe Edit Flow supports 5.2.x?
 * Yeah, in spirit but sometimes not in practice. I’ll [remove the flag in the next version](https://github.com/danielbachhuber/Edit-Flow/issues/126)
   so you’re safe with your fix.
 *  Thread Starter [dchesterton](https://wordpress.org/support/users/dchesterton/)
 * (@dchesterton)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/user-groups-wrong-parameter-count-for-array_unique/#post-3230150)
 * No worries, it happens! Thanks 🙂
 *  [nepohex](https://wordpress.org/support/users/nepohex/)
 * (@nepohex)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/user-groups-wrong-parameter-count-for-array_unique/#post-3230247)
 * Same error, when you’ll update plugin to allow download fixed version? [https://github.com/danielbachhuber/Edit-Flow/issues/126](https://github.com/danielbachhuber/Edit-Flow/issues/126)
   u fixed 7 days ago and plugin has been updated 2 month ago.
 *  Plugin Contributor [Daniel Bachhuber](https://wordpress.org/support/users/danielbachhuber/)
 * (@danielbachhuber)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/user-groups-wrong-parameter-count-for-array_unique/#post-3230250)
 * I hope to have it out as soon as possible. [This issue still needs fixing](https://github.com/danielbachhuber/Edit-Flow/issues/137).

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

The topic ‘User groups: Wrong parameter count for array_unique()’ is closed to new
replies.

 * ![](https://ps.w.org/edit-flow/assets/icon-256x256.png?rev=3433533)
 * [Edit Flow](https://wordpress.org/plugins/edit-flow/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/edit-flow/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/edit-flow/)
 * [Active Topics](https://wordpress.org/support/plugin/edit-flow/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/edit-flow/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/edit-flow/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Daniel Bachhuber](https://wordpress.org/support/users/danielbachhuber/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/user-groups-wrong-parameter-count-for-array_unique/#post-3230250)
 * Status: resolved