ArgumentCountError: Too few arguments to function Drupal\Core\Form\ConfigFormBase::__construct(), 1 passed in /opt/drupal/web/modules/contrib/gdpr_compliance/src/Form/SettingsFormWarning.php on line 70 and exactly 2 expected in Drupal\Core\Form\ConfigForm

Created on 19 September 2024, 2 months ago
Updated 21 September 2024, 2 months ago

This Error pops up when I try to configure the module:
"ArgumentCountError: Too few arguments to function Drupal\Core\Form\ConfigFormBase::__construct(), 1 passed in /opt/drupal/web/modules/contrib/gdpr_compliance/src/Form/SettingsFormWarning.php on line 70 and exactly 2 expected in Drupal\Core\Form\ConfigFormBase->__construct() (line 43 of /opt/drupal/web/core/lib/Drupal/Core/Form/ConfigFormBase.php)."

Steps to reproduce

I am using Drupal Core 11.0.1 and PHP 8.3.11but I have also tried it on various simplytest.me tugboats with other core versions, including 11.0.3 & 11.0.4

  • Install & Activate the module
  • Go to Configuration > GDPR Form Settings
🐛 Bug report
Status

Fixed

Version

1.24

Component

User interface

Created by

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