Title: Warning: in_array() expects parameter 2 to be array
Last modified: March 7, 2018

---

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

 *  [Anton](https://wordpress.org/support/users/anton-newpointdeviewcom/)
 * (@anton-newpointdeviewcom)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/warning-in_array-expects-parameter-2-to-be-array-13/)
 * Hi,
    following the last update (1.3.6) I got this warning in my update-core.php:
 * Warning: in_array() expects parameter 2 to be array, null given in /home/newpoint/
   public_html/wp-content/plugins/mistape/src/class-deco-mistape-abstract.php on
   line 319
 * What does it mean ?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwarning-in_array-expects-parameter-2-to-be-array-13%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Li-An](https://wordpress.org/support/users/li-an/)
 * (@li-an)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/warning-in_array-expects-parameter-2-to-be-array-13/#post-10053681)
 * Same again. It’s an old bug that will not break anything (it’s just an error 
   message) but still there. You can find some old thread about this in the forum.
   The developer said it fixed that but it seems not .
 *  Thread Starter [Anton](https://wordpress.org/support/users/anton-newpointdeviewcom/)
 * (@anton-newpointdeviewcom)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/warning-in_array-expects-parameter-2-to-be-array-13/#post-10053862)
 * Thank you

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

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

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

 * 2 replies
 * 2 participants
 * Last reply from: [Anton](https://wordpress.org/support/users/anton-newpointdeviewcom/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/warning-in_array-expects-parameter-2-to-be-array-13/#post-10053862)
 * Status: not resolved