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.
Problem/Motivation
When you edit a node which is posted in the community (so not in any group) and the secret group module is enabled you'll see a notice on every edit node page.
Notice: Undefined offset: 0 in social_group_secret_form_node_form_alter() (line 168 of profiles/contrib/social/modules/social_features/social_group/modules/social_group_secret/social_group_secret.module).
Proposed resolution
The code should be much more defensive.
Comments
Comment #2
jaapjan CreditAttribution: jaapjan for Open Social commentedhttps://github.com/goalgorilla/open_social/pull/1534
Comment #3
albertoalaejos CreditAttribution: albertoalaejos as a volunteer and for Open Social commented