Title: NextGEN Gallery:  Warning: in_array() [function.in-array]&#8230;
Last modified: August 21, 2016

---

# NextGEN Gallery: Warning: in_array() [function.in-array]…

 *  [heatherogg](https://wordpress.org/support/users/heatherogg/)
 * (@heatherogg)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/nextgen-gallery-warning-in_array-functionin-array/)
 * If you click on one of the thumbnails in my album you get this message:
 *     ```
       Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/sitecms/public_html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_gallery_display/class.displayed_gallery.php on line 612
   
       Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/sitecms/public_html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_gallery_display/class.displayed_gallery.php on line 617
   
       no images were found
       ```
   
 * Why am I getting this message?
 * [http://hostingtechnomedia.com/~sitecms/albums/](http://hostingtechnomedia.com/~sitecms/albums/)
 * If I try to insert a GALLERY, I can’t because when I go to insert, “Select A 
   Display Type”, I choose “NextGEN Basic Thumbnails”, then “What would you like
   to display?” the drop down next to “Source” only has “Albums, Recent Images, 
   Tags”. My galleries are not there.
 * I much prefer NextGEN Basic Extended Album in NextGEN Gallery 2.0.21.
 * NextGEN Gallery 2.0.30 only offers NextGEN Basic Compact Album.
 * It’s been taken away in the upgrade. Now I don’t want to upgrade my other sites
   that use NextGEN Basic Extended Album in case I loose how my albums are set up.
 * [http://wordpress.org/plugins/nextgen-gallery/](http://wordpress.org/plugins/nextgen-gallery/)
 * Thanks for your help. 🙂

The topic ‘NextGEN Gallery: Warning: in_array() [function.in-array]…’ is closed 
to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [heatherogg](https://wordpress.org/support/users/heatherogg/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/nextgen-gallery-warning-in_array-functionin-array/)
 * Status: not resolved