too few args in AccessChecker

Created on 14 September 2023, over 1 year ago
Updated 20 September 2023, over 1 year ago

Problem/Motivation

Drupal core is 9.5.10.
After updating from version 3.1.26 to 3.1.27 for permissions_by_term, a WSOD with this error appeared:

The website encountered an unexpected error. Please try again later.
ArgumentCountError: Too few arguments to function Drupal\permissions_by_entity\Service\AccessChecker::__construct(), 4 passed in /var/www/clients/client3/web41/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 and exactly 5 expected in Drupal\permissions_by_entity\Service\AccessChecker->__construct() (line 52 of modules/contrib/permissions_by_term/modules/permissions_by_entity/src/Service/AccessChecker.php).

More error info is here: https://www.drupal.org/files/issues/2023-09-14/perm-by-term-access-check... β†’

Steps to reproduce

Update permissions_by_term to version 3.1.27.

πŸ› Bug report
Status

Fixed

Version

3.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States snowmountain

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

Comments & Activities

Production build 0.71.5 2024