A mismatch in the type of argument passed to the constructor of the NegotiationConfigureForm class

Created on 15 May 2024, 6 months ago

Problem/Motivation

The domain_lang module encounters a type error when navigating to a specific page in the admin interface. The error message indicates a mismatch in the type of argument passed to the constructor of the NegotiationConfigureForm class, resulting in a fatal error.

Steps to reproduce

Navigate to the URL for editing language-detect-select for any domain.

http://example.es/es/admin/config/domain/language-detect-select/example_es
Observe the error message mentioned below.

TypeError: Drupal\language\Form\NegotiationConfigureForm::__construct(): Argument #2 ($typedConfigManager) must be of type Drupal\Core\Config\TypedConfigManagerInterface, Drupal\language\ConfigurableLanguageManager given, called in /var/www/html/docroot/modules/contrib/domain_lang/src/Form/DomainLangNegotiationConfigureForm.php on line 67 in Drupal\language\Form\NegotiationConfigureForm->__construct() (line 85 of /var/www/html/docroot/core/modules/language/src/Form/NegotiationConfigureForm.php).
🐛 Bug report
Status

Active

Component

Code

Created by

🇮🇳India mdeahmad Mumbai

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

Comments & Activities

Production build 0.71.5 2024