Title: Warning: in_array() expects parameter 2 to be array, string given
Last modified: August 30, 2016

---

# Warning: in_array() expects parameter 2 to be array, string given

 *  [radi_v](https://wordpress.org/support/users/radi_v/)
 * (@radi_v)
 * [11 years ago](https://wordpress.org/support/topic/warning-in_array-expects-parameter-2-to-be-array-string-given-1/)
 * **Warning**: in_array() expects parameter 2 to be array, string given in
    path\
   to\wordpress\wp-content\plugins\adminimize\adminimize.php on line 901
 * When on the network dashboard pages I see that warning.
 * **Denis Lam**, posted a fix [here](https://wordpress.org/support/topic/php-warning-in_array-expects-parameter-2-to-be-array)
 * [https://wordpress.org/plugins/adminimize/](https://wordpress.org/plugins/adminimize/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/warning-in_array-expects-parameter-2-to-be-array-string-given-1/#post-6198366)
 * Thanks for the hint. Please can you use the current dev version and test this
   again – [https://github.com/bueltge/Adminimize/archive/master.zip](https://github.com/bueltge/Adminimize/archive/master.zip)
 * Thanks for your feedback.

Viewing 1 replies (of 1 total)

The topic ‘Warning: in_array() expects parameter 2 to be array, string given’ is
closed to new replies.

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

## Tags

 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 1 reply
 * 2 participants
 * Last reply from: [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/warning-in_array-expects-parameter-2-to-be-array-string-given-1/#post-6198366)
 * Status: not resolved