Title: Wrong in_array in WP code?
Last modified: August 19, 2016

---

# Wrong in_array in WP code?

 *  [erick_paper](https://wordpress.org/support/users/erick_paper/)
 * (@erick_paper)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/wrong-in_array-in-wp-code/)
 * I am using 2.8.4.
 * My PHP environment is as follows:
 *     ```
       HP 5.2.10 (cli) (built: Jul 30 2009 12:51:02)
       Copyright (c) 1997-2009 The PHP Group
       Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
           with eAccelerator v0.9.5.3, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
           with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
           with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies
       ```
   
 * My apache error log is full of these errors:
 *     ```
       [Sat Aug 15 01:32:47 2009] [error] [client 99.99.99.99] PHP Warning:  in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in /home/kk/public_html/wp/wp-admin/includes/plugin.php on line 275, referer: http://mysite.com/wp/wp-admin/plugins.php?plugin_status=active
       ```
   
 * What’s this? Is this a new error introduced in 2.8.4?

The topic ‘Wrong in_array in WP code?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [erick_paper](https://wordpress.org/support/users/erick_paper/)
 * Last activity: [16 years, 9 months ago](https://wordpress.org/support/topic/wrong-in_array-in-wp-code/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
