When I go to '/admin/content/node-type/node-gallery-image/fields/field_node_gallery_image' I see the following error on a Pressflow site:

Warning: Invalid argument supplied for foreach() in node_gallery_hierarchy_get_gallery_list() (line 206 of /opt/drupal/6/modules/node_gallery_hierarchy/node_gallery_hierarchy.inc).

There is no such error on a regular Drupal 6 site.

Line 206 looks like:

foreach ($_siblings as $sibling) {

Comments

scroogie’s picture

Project: Node Gallery » Node Gallery Hierarchy
Version: 6.x-3.2 » 6.x-1.x-dev

Changed tracker.

Apparently there is no gallery tree. You can add an

 if (empty($_siblings)) {
 return array();
}

before the foreach.