When groups are deleted which were associated with datasets or references, there remains orphaned group content linked to the old gid of the group.
This causes errors on the /search page
TypeError: Argument 1 passed to Drupal\group\Access\GroupAccessResult::allowedIfHasGroupPermissions() must implement interface Drupal\group\Entity\GroupInterface, null given, called in /var/www/html/drupal/web/modules/contrib/group/src/Plugin/GroupContentAccessControlHandler.php on line 145 in Drupal\group\Access\GroupAccessResult::allowedIfHasGroupPermissions() (line 57 of
/var/www/html/drupal/web/modules/contrib/group/src/Access/GroupAccessResult.php)
Issue fork ekan-3261676
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
drasgardian commented