- Issue created by @vipin.mittal18
Installing Acquia CMS with Site Studio 7.2.1, the front page displays the message,
The website encountered an unexpected error. Please try again later.
Install Drupal with Acquia CMS with Site Studio module version 7.2.1
Replace code
$access = $entity->access('view', $this->currentUser, TRUE);
if ($entity instanceof EntityInterface && $access) {
with
if ($entity instanceof EntityInterface && $entity->access('view', $this->currentUser)) {
$access = $entity->access('view', $this->currentUser, TRUE);
at docroot/modules/contrib/cohesion/modules/cohesion_templates/src/TwigExtension/TwigExtension.php
Active
1.5
Code