Title: PHP error when displaying the images
Last modified: August 22, 2016

---

# PHP error when displaying the images

 *  [44-sued](https://wordpress.org/support/users/44-sued/)
 * (@44-sued)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/php-error-when-displaying-the-images/)
 * Hello, Unfortunately, the text comes from google translator.
 * Since yesterday I have the problem that no longer gets displayed on my blog any
   of these images and instead comes following error message:
 *     ```
       Warning: in_array() expects parameter 2 to be array, null given in /xxxxxxx-xxxxxx/xxxxxxxx/xxxxxx/xxxxxxx-xxxx/xxx/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_gallery_display/class.displayed_gallery.php on line 650
   
       Warning: in_array() expects parameter 2 to be array, null given in /xxxxxxx-xxxxxx/xxxxxxxx/xxxxxx/xxxxxxx-xxxx/xxx/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_gallery_display/class.displayed_gallery.php on line 655
       ```
   
 * I have not made any changes !! The images can man but call the spur.
 * Who can help?
 * [https://wordpress.org/plugins/nextgen-gallery/](https://wordpress.org/plugins/nextgen-gallery/)

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

 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/php-error-when-displaying-the-images/#post-5197017)
 * [@44-sued](https://wordpress.org/support/users/44-sued/) – I believe you have
   sent in a Bug Report ([http://www.nextgen-gallery.com/report-bug/](http://www.nextgen-gallery.com/report-bug/))
   for this issue already. Let’s keep the conversation there for the time being.
 * Thanks!
 * – Cais.
 *  [deemat](https://wordpress.org/support/users/deemat/)
 * (@deemat)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/php-error-when-displaying-the-images/#post-5197021)
 * @ same problem soon after automatic update i think in nextGen gallery
    all albums
   failed
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/php-error-when-displaying-the-images/#post-5197022)
 * [@deemat](https://wordpress.org/support/users/deemat/) – There may be a lot more
   to this then the OP offered, it would be best for you to start your own topic
   per the forum rules: [http://codex.wordpress.org/Forum_Welcome#Where_To_Post](http://codex.wordpress.org/Forum_Welcome#Where_To_Post)
 * Thanks!
 * – Cais.
 *  Thread Starter [44-sued](https://wordpress.org/support/users/44-sued/)
 * (@44-sued)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/php-error-when-displaying-the-images/#post-5197034)
 * Hello, yes the bug report is from me. Ask your in the response e-mail:
    – No,
   it was nothing really changed at the installation – My hoster did not make any
   changes
 * The drafts problems after automatic update on
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/php-error-when-displaying-the-images/#post-5197035)
 * [@44-sued](https://wordpress.org/support/users/44-sued/) – Let’s keep the conversation
   for the Bug Report in the Bug Report please … it will be much more difficult 
   if you respond here rather than the Bug Report to keep things organized.
 * Thanks!
 * – Cais.
 *  [libis](https://wordpress.org/support/users/libis/)
 * (@libis)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/php-error-when-displaying-the-images/#post-5197110)
 * i have a same problem, is any solution?
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/php-error-when-displaying-the-images/#post-5197111)
 * [@libis](https://wordpress.org/support/users/libis/) – Your best starting point
   would be to start your own topic so we can try to help you with the specific 
   issue as it is affecting your site.
 * Thanks!
 * – Cais.
 *  [libis](https://wordpress.org/support/users/libis/)
 * (@libis)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/php-error-when-displaying-the-images/#post-5197112)
 * ok, there is my page – [http://www.libor-foto.cz/vyber-ze-softbalove-sezony-2014/](http://www.libor-foto.cz/vyber-ze-softbalove-sezony-2014/)
 * you can see – `Warning: in_array() expects parameter 2 to be array, null given
   in /data/web/virtuals/52434/virtual/www/wp-content/plugins/nextgen-gallery/products/
   photocrati_nextgen/modules/nextgen_gallery_display/class.displayed_gallery.php
   on line 657
 * Warning: in_array() expects parameter 2 to be array, null given in /data/web/
   virtuals/52434/virtual/www/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/
   modules/nextgen_gallery_display/class.displayed_gallery.php on line 662`
 * i have latest version of wordpress and nextgen gallery. i can not figure out 
   where problem is 🙁 before couple days everything was OK…
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/php-error-when-displaying-the-images/#post-5197113)
 * [@libis](https://wordpress.org/support/users/libis/) – Please start your own 
   topic per the forum rules here: [http://codex.wordpress.org/Forum_Welcome#Where_To_Post](http://codex.wordpress.org/Forum_Welcome#Where_To_Post)
 * Thanks!
 * – Cais.

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

The topic ‘PHP error when displaying the images’ 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/)

 * 9 replies
 * 4 participants
 * Last reply from: [photocrati](https://wordpress.org/support/users/photocrati/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/php-error-when-displaying-the-images/#post-5197113)
 * Status: not resolved