• Resolved libis

    (@libis)


    hey,

    i have a problem. if i use shortcode – for example [nggallery id=NMUBER ID GALLERY] i got error:

    – `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…

    any solution?

    thx

    https://ww.wp.xz.cn/plugins/nextgen-gallery/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @libis – This usually only happens if the gallery ID being used does not exist.

    – Cais.

    Thread Starter libis

    (@libis)

    But I am 100% sure that gallery exist.

    Plugin Contributor photocrati

    (@photocrati)

    @libis – What is the specific shortcode structure you are using? Do you see the same issue if you use the IGW (“green button”) to insert the display?

    – Cais.

    Thread Starter libis

    (@libis)

    i am using this shortcode – [nggallery id=52] – yes, its same error

    temporarily i solved – i downgraded version nextgen gallery to 1.9.13 and it works.

    Plugin Contributor photocrati

    (@photocrati)

    @libis – we may release an update or patch to our shortcode system in the next day or so, it may be worth it to try once again after we have released things.

    -Drew

    Thread Starter libis

    (@libis)

    i reset all settings and updated to latest version – and it WORKS 🙂

    thx for helping me…

    Plugin Contributor photocrati

    (@photocrati)

    @libis – Thanks for the follow-up response!

    We’re happy to read things are working now!

    – Cais.

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

The topic ‘error in file /class.displayed_gallery.php’ is closed to new replies.