- Issue created by @hyperlogos
- Status changed to Postponed: needs info
4 months ago 2:13pm 30 July 2024
I am using CRM Core, it allegedly uses entities, and I want to clone one of my entity types. But if entity clone is enabled then I get the following error just visiting e.g. https://drupal/admin/structure/crm-core/activity-types
TypeError: Drupal\Core\Access\AccessResult::orIf(): Argument #1 ($other) must be of type Drupal\Core\Access\AccessResultInterface, null given, called in /var/www/sites/drupal/web/core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php on line 105 in Drupal\Core\Access\AccessResult->orIf() (line 282 of /var/www/sites/drupal/web/core/lib/Drupal/Core/Access/AccessResult.php).
Postponed: needs info
2.0
Code