When managing content type fields, this warning shows up:

Notice: Undefined index: instance_settings in field_group_field_group_format_settings() (line 391 of /home/server/public_html/management/sites/all/modules/field_group/field_group.module).

This seems to only show up when you have fieldset chosen for the group.

Comments

jcarlson34’s picture

Yes I received this message too for all of my fieldsets.

Here's the fix (I think). Click on the gear icon under the column Operations. There's a new field that's been added with the most recent release: Extra CSS classes. Just click "Update". Once the blue spinner stops, scroll to the bottom of the page and click "Save". The warning(s) should go away.

My guess is that this will only affect people upgrading from a previous version who already have fieldsets.

Let me know if this solves the problem.

Stalski’s picture

Do you guys still have this after cache clear? This is something that only should happen due to the new property "classes" that was added to fieldsets and divs. On fresh installs it should not happen.
Can you confirm this as truth?

sharikov’s picture

@jcarlson34 That works. Thank you.

Before i updated the fieldsets I tried clearing the cache but that didn't do anything.

jcarlson34’s picture

@Stalski I didn't try clearing the cache but the error went away right after I resaved the fields.

Looks like sharikov's problem was fixed too by resaving. I think that counts as a confirmed truth in this case.

Thanks for all the great work on the module. It is a major upgrade from Drupal 6 field groups.

Stalski’s picture

Status: Active » Closed (fixed)

thx ;)
and you are very welcome

mariusz.slonina’s picture

Status: Closed (fixed) » Active

...it happens also on fresh install, D7rc2 :( To deal with the error, each time I create new fieldset, I have to click the gear and resave

thekevinday’s picture

#6 happens for me as well.

andypost’s picture

Suppose issue lays in defaults for formatter. I get this error with current core-HEAD, maybe related #986992: Insane etid / {field_config_entity_type} abstraction

Stalski’s picture

This should fix it: http://drupal.org/user/322618
Update from the 1 branch and it should be fixed. The default formatter's instance settings were not declared for the form

Stalski’s picture

Status: Active » Fixed
Stalski’s picture

Status: Fixed » Closed (fixed)