TypeError: Return value of Minds\Core\Permissions\Delegates\ChannelRoleCalculator::getChannelForEntity() mus...
Sentry Issue: ENGINE-EN
TypeError: Return value of Minds\Core\Permissions\Delegates\ChannelRoleCalculator::getChannelForEntity() must be an instance of Minds\Entities\User, null returned
File "/Core/Permissions/Delegates/ChannelRoleCalculator.php", line 72, in Minds\Core\Permissions\Delegates\ChannelRoleCalculator::getChannelForEntity
return $this->entitiesBuilder->single($entity->getOwnerGuid());
File "/Core/Permissions/Delegates/ChannelRoleCalculator.php", line 43, in Minds\Core\Permissions\Delegates\ChannelRoleCalculator::calculate
$channel = $this->getChannelForEntity($entity);
File "/Core/Permissions/Permissions.php", line 101, in Minds\Core\Permissions\Permissions::getRoleForEntity
$role = $this->channelRoleCalculator->calculate($entity);
File "/Core/Permissions/Permissions.php", line 79, in Minds\Core\Permissions\Permissions::calculate
$this->entities[$entity->getGuid()] = $this->getRoleForEntity($entity);
File "/Core/Permissions/Manager.php", line 64, in Minds\Core\Permissions\Manager::getList
$permissions->calculate($entities);
...
(7 additional frame(s) were not displayed)