Title: PHP Warning: in_array expecting array
Last modified: August 20, 2016

---

# PHP Warning: in_array expecting array

 *  Resolved [redpixelstudios](https://wordpress.org/support/users/redpixelstudios/)
 * (@redpixelstudios)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/php-warning-in_array-expecting-array/)
 * Greetings,
    We are seeing the following error appear in our PHP logs and thought
   that you might want to be aware of it. The plugin seems to be working just fine
   on our multisite environment with our version of WordPress.
 * `PHP Warning: in_array() expects parameter 2 to be array, string given in duo_wordpress.
   php on line 241`
 * Thanks for any assistance you can provide getting this resolved.
 * [http://wordpress.org/extend/plugins/duo-wordpress/](http://wordpress.org/extend/plugins/duo-wordpress/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Duo Security](https://wordpress.org/support/users/duosecurity/)
 * (@duosecurity)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/php-warning-in_array-expecting-array/#post-3418487)
 * Thanks for reporting this! We had a few reports of that issue and it should be
   resolved in the latest release of the plugin (version 1.4.2, released today).

Viewing 1 replies (of 1 total)

The topic ‘PHP Warning: in_array expecting array’ is closed to new replies.

 * ![](https://ps.w.org/duo-wordpress/assets/icon-256x256.png?rev=997291)
 * [Duo Two-Factor Authentication](https://wordpress.org/plugins/duo-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duo-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duo-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/duo-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duo-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duo-wordpress/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Duo Security](https://wordpress.org/support/users/duosecurity/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/php-warning-in_array-expecting-array/#post-3418487)
 * Status: resolved