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

Comments

tolyan4ik created an issue. See original summary.

amateichuk’s picture

Assigned: amateichuk » Unassigned
Status: Active » Needs review
StatusFileSize
new5.28 KB
mkalkbrenner’s picture

Status: Needs review » Reviewed & tested by the community

mkalkbrenner’s picture

Status: Reviewed & tested by the community » Fixed

Thank you!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.