Title: PHP ERROR NextGEN Gallery: Wrong datatype for second argument &#8230;
Last modified: August 22, 2016

---

# PHP ERROR NextGEN Gallery: Wrong datatype for second argument …

 *  [Davanlo](https://wordpress.org/support/users/davanlo/)
 * (@davanlo)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/php-error-nextgen-gallery-wrong-datatype-for-second-argument/)
 * Note: I saw that this happened before, but none of the context mentionned applies
   and it was fixed by the developpers.
 * I got this message on my site:
 * Warning: in_array() [function.in-array]: Wrong datatype for second argument in/
   home/vanloche/www/guitare2.0/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/
   modules/nextgen_gallery_display/class.displayed_gallery.php on line 650
 * [http://guitar.vanlochem.be/images-promo/](http://guitar.vanlochem.be/images-promo/)
 * No single gallery is displayed.

The topic ‘PHP ERROR NextGEN Gallery: Wrong datatype for second argument …’ is closed
to new replies.

## Tags

 * [nextgen](https://wordpress.org/support/topic-tag/nextgen/)
 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 0 replies
 * 1 participant
 * Last reply from: [Davanlo](https://wordpress.org/support/users/davanlo/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/php-error-nextgen-gallery-wrong-datatype-for-second-argument/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
