Path: /. Drupal\Core\Http\Exception\CacheableAccessDeniedHttpException

Created on 22 July 2024, 6 months ago
Updated 25 July 2024, 6 months ago

Problem/Motivation

After add new product, got the following error message:

Path: /. Drupal\Core\Http\Exception\CacheableAccessDeniedHttpException: in Drupal\Core\Routing\AccessAwareRouter->checkAccess() (line 115 of /www/wwwroot/public_html/core/lib/Drupal/Core/Routing/AccessAwareRouter.php)

Steps to reproduce

Using Drupal 10.3.0 and Domain module, each domain is assigned a view frontpage. After add some new products or update the view frontpage, the view page for the sub domain show access denied information, even Access permission is set to Unrestricted.

To solve this, I change the Access permission and save again for several times, it works again. I have disabled cache for the view to avoid cache issue.

The error only shows on subdomain view front page, while not on the main domain view frontpage.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Closed: duplicate

Version

2.0

Component
RoutingΒ  β†’

Last updated 2 days ago

Created by

πŸ‡¨πŸ‡³China hongqing

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024