#1 - Error thrown on selecting Group reference selection as reference type on node.
Error:
TypeError: Drupal\Core\Entity\Plugin\EntityReferenceSelection\DefaultSelection::__construct(): Argument #5 ($module_handler) must be of type Drupal\Core\Extension\ModuleHandlerInterface, Drupal\Core\Entity\EntityRepository given, called in /var/www/html/web/modules/contrib/group_relationship_reference/src/Plugin/EntityReferenceSelection/GroupRelationShipReference.php on line 58 in Drupal\Core\Entity\Plugin\EntityReferenceSelection\DefaultSelection->__construct() (line 109 of /var/www/html/web/core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/DefaultSelection.php).
Steps to reproduce:
- Create a new content type
- Add field entity reference with referenced user entity type
- Select reference type Group reference selection
- Save
Edited by Mathias Grab