Clicking "Manage Images" and "Sort Images" resulting error message If There are currently No images in the gallery.

Clicking "Manage Images" resulting:
"warning: Invalid argument supplied for foreach() in ..\sites\all\modules\node_gallery\node_gallery.pages.inc on line 290."

Clicking "Sort Images" resulting:
"warning: Invalid argument supplied for foreach() in ..\sites\all\modules\node_gallery\node_gallery.pages.inc on line 375."

Comments

kmonty’s picture

Status: Active » Closed (duplicate)

Please check the dev version before posting issues: #636104: Php Warning on 'Manage Images' page with an empty Gallery