On a fresh install it gives:

warning: Invalid argument supplied for foreach() in /usr/drupal/sites/all/modules/node_gallery_hierarchy/node_gallery_hierarchy.inc on line 28.
warning: Invalid argument supplied for foreach() in /usr/drupal/sites/all/modules/node_gallery_hierarchy/node_gallery_hierarchy.inc on line 44.
warning: uasort() expects parameter 1 to be array, null given in /usr/drupal/sites/all/modules/node_gallery_hierarchy/node_gallery_hierarchy.inc on line 64.
warning: Invalid argument supplied for foreach() in /usr/drupal/sites/all/modules/node_gallery_hierarchy/node_gallery_hierarchy.inc on line 66.
warning: Invalid argument supplied for foreach() in /usr/drupal/sites/all/modules/node_gallery_hierarchy/node_gallery_hierarchy.inc on line 185.

Comments

yngens’s picture

The error is gone after I uploaded first image, so it is produced only when galleries are empty. Still a bit confusing for new installers.

scroogie’s picture

Thanks for the report. Which version of Node Gallery exactly are you using?

yngens’s picture

I tried to set this with Node Gallery 6.x-3.0-beta2 and Views 6.x-3.x-dev

scroogie’s picture

Status: Active » Fixed

This is fixed in the latest dev version. It was just a case of some special casing when there are no galleries at all, yet.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.