Too few arguments for DigestController

Created on 26 March 2025, about 2 months ago

Problem/Motivation

When accessing /admin/structure/webform_digests/send route, the site reports the following error:

ArgumentCountError: Too few arguments to function Drupal\webform_digests\Controller\DigestController::__construct(), 0 passed in /var/www/web/core/lib/Drupal/Core/DependencyInjection/ClassResolver.php on line 44 and exactly 1 expected in Drupal\webform_digests\Controller\DigestController->__construct() (line 26 of /var/www/web/modules/contrib/webform_digests/src/Controller/DigestController.php).
</code<

<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
Install the module as normal, access the <code>/admin/structure/webform_digests/send

route.

Proposed resolution

Add necessary arguments to the controller.

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States euk

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024