Updated from7.x-1.0 to 1.1, some pages of my site display the message:

•Notice: Undefined property: stdClass::$collapsed in field_group_pre_render_div() (line 615 of /home/euluo/public_html/drp7base/sites/all/modules/field_group/field_group.module).
•Notice: Undefined property: stdClass::$collapsed in field_group_pre_render_div() (line 615 of /home/euluo/public_html/drp7base/sites/all/modules/field_group/field_group.module).
•Notice: Undefined property: stdClass::$collapsed in field_group_pre_render_div() (line 615 of /home/euluo/public_html/drp7base/sites/all/modules/field_group/field_group.module).

Comments

nils.destoop’s picture

Status: Active » Fixed

This should be fixed by applying following patch: http://drupalcode.org/project/field_group.git/patch/15b667a

Status: Fixed » Closed (fixed)

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

carlitus’s picture

I've the same "Notice" in the 692 line:

Notice: Undefined index: formatter in field_group_pre_render_div() (line 692 of /webs/hba/drupal2/sites/all/modules/field_group/field_group.module).

in

if ($group->format_settings['formatter'] != 'open') {

we need to put a isset()

if (isset($group->format_settings['formatter']) && $group->format_settings['formatter'] != 'open') {