Can't remove or rearrange subgroups or role inheritance

Created on 22 May 2024, 8 months ago
Updated 22 June 2024, 7 months ago

Problem/Motivation

I have two types of groups. School and class(subgroup).

Even if no group has been created in the list, if I want to remove and rearrange a tree or role inheritances to make a change in the subgroup settings, the website crashes completely.

Error: Call to a member function getPluginId() on null in Drupal\group\Entity\Storage\GroupRelationshipStorage->getEntityClass() (line 93 of /var/www/html/mysite/web/modules/contrib/group/src )

As it stands, I can't uninstall or reinstall the module either.

When I want to delete the cache (drush cr) or import the configuration (drush cim) to recover the website as it is, I get the following error.

The "subgroup:class" plugin does not exist. Valid plugin IDs for Drupal\group\Plugin\Group\Relation\GroupRelationTypeManager are: group_node:article, group_node:forum, group_membership, group_storage:class_notes, group_media:audio, group_media:remote_video group_media_type 

Any idea, please... Thanks

💬 Support request
Status

Active

Version

3.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024