Deprecated ContainerAwareEventDispatcher

Created on 3 February 2025, 21 days ago

Problem/Motivation

TypeError: Drupal\default_content_deploy\Importer::__construct(): Argument #10 ($event_dispatcher) must be of type Drupal\default_content_deploy\ContainerAwareEventDispatcher, Symfony\Component\EventDispatcher\EventDispatcher given, called in /var/www/html/docroot/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 in Drupal\default_content_deploy\Importer->__construct() (line 192 of modules/contrib/default_content_deploy/src/Importer.php).

Steps to reproduce

Drupal 11, PHP 8.3.10
Open /admin/config/development/dcd/import or export page

Proposed resolution

Replace deprecated Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher with Symfony\Component\EventDispatcher\EventDispatcher

πŸ› Bug report
Status

Active

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine tolyan4ik Lviv

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

Comments & Activities

Production build 0.71.5 2024