The latest CVS snapshot displays the following errors via Drush any time the the site cache is cleared:

WD php: Notice: Undefined index:  group_carousel in _fieldgroup_get_tree() (line 311 of fieldgroup.module).
WD php: Notice: Undefined index:  group_banner_data in _fieldgroup_get_tree() (line 311 of fieldgroup.module).

That corresponds to the following IF statement:

        if ($children[$type_name][$child_group_name]) {
          $tree = array_merge($tree, _fieldgroup_get_tree($type_name, $child_group_name, $depth, $max_depth));
        }

This should be rewritten as:

        if (!empty($children[$type_name][$child_group_name])) {
          $tree = array_merge($tree, _fieldgroup_get_tree($type_name, $child_group_name, $depth, $max_depth));
        }
CommentFileSizeAuthor
#1 cck-n1053566.patch907 bytesDamienMcKenna
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

Status: Active » Needs review
FileSize
907 bytes

Here's a patch that implements the suggested change.

KarenS’s picture

Status: Needs review » Fixed

Fixed, thanks :)

Status: Fixed » Closed (fixed)

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