DomainRoles argument count

Created on 24 October 2024, about 2 months ago

Problem/Motivation

Class argument count error after upgrading to Core ^10.3.6

ArgumentCountError: Too few arguments to function Drupal\user\Plugin\views\filter\Roles::__construct(), 4 passed in /app/web/modules/contrib/domain_role/src/Plugin/views/filter/DomainRoles.php on line 43 and exactly 5 expec
  ted in Drupal\user\Plugin\views\filter\Roles->__construct() (line 34 of /app/web/core/modules/user/src/Plugin/views/filter/Roles.php).

Steps to reproduce

After upgrading to 10.3.6, run updb or cr.

Proposed resolution

Update class construct per https://www.drupal.org/node/3427368 β†’

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States DevPilot

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

Comments & Activities

Production build 0.71.5 2024