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.
This is really specific, but if a field uses the rendered view formatter for nodereference, the fieldgroup will still display even if the field is empty. I suggest changing line 1008 in field_group.module from
elseif (!empty($element[$name])) {
to
elseif (!empty($element[$name]['#items'])) {
which will fix the issue.
Thanks
Comments
Comment #1
nils.destoop CreditAttribution: nils.destoop commentedSeems like this is already fixed with latest version of nodereference.