Getting error when visiting configuration page with Drupal 11

Created on 8 September 2024, 3 months ago
Updated 9 September 2024, 3 months ago

Problem/Motivation

Getting below error when I was trying to install the module with Drupal 11.

The website encountered an unexpected error. Try again later.

Too few arguments to function Drupal\Core\Form\ConfigFormBase::__construct(), 1 passed in /var/www/html/web/modules/contrib/prometheus_metrics/src/Form/MetricsConfigurationForm.php on line 34 and exactly 2 expected

Steps to reproduce

Install module and go to configuration page of this module.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India anwar_max

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