diff --git a/src/Entity/PageAccess.php b/src/Entity/PageAccess.php
index faac645..a4a23f4 100644
--- a/src/Entity/PageAccess.php
+++ b/src/Entity/PageAccess.php
@@ -7,6 +7,7 @@
 
 namespace Drupal\page_manager\Entity;
 
+use Drupal\Component\Plugin\Exception\ContextException;
 use Drupal\Core\Access\AccessResult;
 use Drupal\Core\Condition\ConditionAccessResolverTrait;
 use Drupal\Core\Entity\EntityAccessControlHandler;
@@ -78,7 +79,15 @@ class PageAccess extends EntityAccessControlHandler implements EntityHandlerInte
       $conditions = $entity->getAccessConditions();
       foreach ($conditions as $condition) {
         if ($condition instanceof ContextAwarePluginInterface) {
-          $this->contextHandler()->applyContextMapping($condition, $contexts);
+	      try {
+		    $this->contextHandler()->applyContextMapping($condition, $contexts);
+	      }
+	      catch (ContextException $e) {
+		    return parent::checkAccess($entity, $operation, $account);
+	      }
+	        $this->contextHandler()->applyContextMapping($condition, $contexts);
+        } else {
+	      return parent::checkAccess($entity, $operation, $account);
         }
       }
       return AccessResult::allowedIf($this->resolveConditions($conditions, $entity->getAccessLogic()));
