Exception in Drupal 11.0+

Created on 30 June 2025, 4 months ago

Problem/Motivation

Uncaught PHP Exception ArgumentCountError: "Too few arguments to function Drupal\Core\Config\ConfigImporter::__construct(), 10 passed in /opt/drupal/web/modules/contrib/config_suite/src/ConfigSuiteImportSubscriber.php on line 51 and exactly 11 expected" at /opt/drupal/web/core/lib/Drupal/Core/Config/ConfigImporter.php line 204
This is related to this commit which has been introduced to remove the deprecation of Drupal 10.1:
https://git.drupalcode.org/project/drupal/-/commit/2f44d215e8666db18187a...

Steps to reproduce

1. Install Drupal 11
2. Install the module
3. See crash on website root

Proposed resolution

Add \Drupal::service('extension.list.theme') to line 61 of src/ConfigSuiteImportSubscriber.php

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡นItaly maicol07

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