When I go to crm-core/activity-types I get WSOD and drupal log show 3 errors:
Notice: Undefined variable: langcode in Drupal\crm_core_activity\ActivityTypeAccessControlHandler->checkAccess() (line 23 of /var/www/html/crmcore8/modules/contrib/crm_core/modules/crm_core_activity/src/ActivityTypeAccessControlHandler.php)
Recoverable fatal error: Argument 3 passed to Drupal\Core\Entity\EntityAccessControlHandler::checkAccess() must implement interface Drupal\Core\Session\AccountInterface, null given, called in /var/www/html/crmcore/modules/contrib/crm_core/modules/crm_core_activity/src/ActivityTypeAccessControlHandler.php on line 23 and defined in Drupal\Core\Entity\EntityAccessControlHandler->checkAccess() (line 134 of /var/www/html/crmcore/core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php).
Recoverable fatal error: Argument 1 passed to Drupal\Core\Access\AccessResult::allowedIfHasPermission() must implement interface Drupal\Core\Session\AccountInterface, null given, called in /var/www/html/crmcore8/core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php on line 139 and defined in Drupal\Core\Access\AccessResult::allowedIfHasPermission() (line 107 of /var/www/html/crmcore8/core/lib/Drupal/Core/Access/AccessResult.php).
When I go to crm-core/activity-types I get WSOD and drupal log show 3 errors:
Notice: Undefined variable: langcode in Drupal\crm_core_activity\ActivityTypeAccessControlHandler->checkAccess() (line 23 of /var/www/html/crmcore8/modules/contrib/crm_core/modules/crm_core_activity/src/ActivityTypeAccessControlHandler.php)
Recoverable fatal error: Argument 3 passed to Drupal\Core\Entity\EntityAccessControlHandler::checkAccess() must implement interface Drupal\Core\Session\AccountInterface, null given, called in /var/www/html/crmcore/modules/contrib/crm_core/modules/crm_core_activity/src/ActivityTypeAccessControlHandler.php on line 23 and defined in Drupal\Core\Entity\EntityAccessControlHandler->checkAccess() (line 134 of /var/www/html/crmcore/core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php).
Recoverable fatal error: Argument 1 passed to Drupal\Core\Access\AccessResult::allowedIfHasPermission() must implement interface Drupal\Core\Session\AccountInterface, null given, called in /var/www/html/crmcore8/core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php on line 139 and defined in Drupal\Core\Access\AccessResult::allowedIfHasPermission() (line 107 of /var/www/html/crmcore8/core/lib/Drupal/Core/Access/AccessResult.php).