Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When editing a node:
* Notice: Undefined variable: collapsible in field_group_field_group_pre_render() (line 504 of /var/aegir/platforms/attiks.7.beta1/sites/all/modules/field_group/field_group.module).
* Notice: Undefined variable: collapsed in field_group_field_group_pre_render() (line 505 of /var/aegir/platforms/attiks.7.beta1/sites/all/modules/field_group/field_group.module).
* Notice: Undefined variable: classes in field_group_field_group_pre_render() (line 507 of /var/aegir/platforms/attiks.7.beta1/sites/all/modules/field_group/field_group.module).
Comment | File | Size | Author |
---|---|---|---|
#14 | issue-953280-14-indfined-property.patch | 960 bytes | anthonylindsay |
Comments
Comment #1
attiks CreditAttribution: attiks commentedd7 beta1 problem
Comment #2
BenK CreditAttribution: BenK commentedI just downloaded the -dev version as of today (April 6, 2011) and I'm experiencing the same errors at the top of the admin/modules page.
Ideas on how to fix?
--Ben
Comment #3
BenK CreditAttribution: BenK commentedI'm also getting this error when viewing a node...
Comment #4
BenK CreditAttribution: BenK commentedThe error goes away if I use 7.x-1.0-rc2, so it appears that one of the recent commits (after 7.x-1.0-rc2) is causing this error.
--Ben
Comment #5
nils.destoop CreditAttribution: nils.destoop commentedI'll check today what commit introduced the notices, and fix it.
Can someone tell me, what type of groups they are using? So i can test with same type of group.
Comment #6
nils.destoop CreditAttribution: nils.destoop commentedComment #7
BenK CreditAttribution: BenK commentedI just added a Field Group to the article content type and selected "Fieldset" as my widget. The notices seems to display, however, for other widget types. And I did added the field group on the "Manage Display" page, but the warning also seemed to appear if a field group is added on "Manage Fields", too.
--Ben
Comment #8
Stalski CreditAttribution: Stalski commentedCan someone update this issue with the status. We did some reworking and it just might happen this bug is gone too.
Thx in advance.
Comment #9
Stalski CreditAttribution: Stalski commentedThis should really be fixed. I'll close this if there is no action here anymore.
Comment #11
paulap CreditAttribution: paulap commentedWe are using the latest dev (30.08.2012) but the error is already in 1.1 too.
We have 2 fieldsets on the form. We get following message:
Notice: Undefined property: stdClass::$collapsible in field_group_pre_render_fieldset() (Zeile 572 von /var/www/virtual/iuseknowhow.com/community/htdocs/sites/all/modules/field_group/field_group.module).
x
Notice: Undefined property: stdClass::$collapsed in field_group_pre_render_fieldset() (Zeile 573 von /var/www/virtual/iuseknowhow.com/community/htdocs/sites/all/modules/field_group/field_group.module).
If we comment out the two lines the messages disappear:
function field_group_pre_render_fieldset(&$element, $group, &$form) {
$element += array(
'#type' => 'fieldset',
'#title' => check_plain(t($group->label)),
/* '#collapsible' => $group->collapsible,
'#collapsed' => $group->collapsed, */
'#pre_render' => array(),
'#attributes' => array('class' => explode(' ', $group->classes)),
'#description' => $group->description,
);
$element['#attached']['js'][] = 'misc/form.js';
$element['#attached']['js'][] = 'misc/collapse.js';
}
Comment #12
nils.destoop CreditAttribution: nils.destoop commentedNot even answering on this kind of issue titles.
Comment #13
Stalski CreditAttribution: Stalski commentedchanging issue title back.
@paulap: if you can figure out why it happens on your install and you found a solution, please comment here so others can benefit from your findings.
Comment #14
anthonylindsay CreditAttribution: anthonylindsay at Annertech commentedI'm opening this old issue up again because a) it was never really resolved and b) it's still an issue on 7.x-1.6 running PHP7.2.
This was the particular watchdog log entry:
I'm adding a patch which solves it.
Steps to test: