Drupal\group\Entity\Storage\GroupContentStorage::loadByEntity(): Argument #1 ($entity) must be of type Drupal\Core\Entity\ContentEntityInterface,
Le fichier à modifier est :
D:\xampp\htdocs\drupal-9.2.7\modules\group\group.module
autours ligne 320
foreach ($plugin_ids as $plugin_id) {
$plugin_cache_tags[] = "group_content_list:plugin:$plugin_id";
}
///JMP_DBG
if ($entity instanceof ContentEntityInterface) {
///JMP_DBG
// Load all of the group content for this entity.
$group_contents = \Drupal::entityTypeManager()
->getStorage('group_content')
->loadByEntity($entity);
///JMP_BDG
}