Getting error during click on "Configure" button from module page.

Created on 24 December 2024, 5 months ago

By submitting patches for review, you agree to the Developer Certificate of Origin. A copy of this agreement can be found in the project root, named CONTRIBUTING.txt.

Problem/Motivation

Getting error during click on configure.

ArgumentCountError: Too few arguments to function Drupal\Core\Form\ConfigFormBase::__construct(), 1 passed in /modules/contrib/geoblock/src/Form/SettingsForm.php on line 57 and exactly 2 expected in Drupal\Core\Form\ConfigFormBase->__construct() (line 43 of /core/lib/Drupal/Core/Form/ConfigFormBase.php).

Backtrace

#0 /modules/contrib/geoblock/src/Form/SettingsForm.php(57): Drupal\Core\Form\ConfigFormBase->__construct()
#1 /modules/contrib/geoblock/src/Form/SettingsForm.php(148): Drupal\geoblock\Form\SettingsForm->__construct()
#2 /core/lib/Drupal/Core/DependencyInjection/ClassResolver.php(36): Drupal\geoblock\Form\SettingsForm::create()
#3 /core/lib/Drupal/Core/Controller/HtmlFormController.php(48): Drupal\Core\DependencyInjection\ClassResolver->getInstanceFromDefinition()
#4 /core/lib/Drupal/Core/Controller/FormController.php(58): Drupal\Core\Controller\HtmlFormController->getFormObject()

Steps to reproduce

1. Install in Drupal 11
2. Enable module
3. Click on configure from module list page.

🐛 Bug report
Status

Active

Version

1.1

Component

Code

Created by

🇮🇳India ravi kant Jaipur

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