Fatal error: Cannot redeclare EntityBundleFieldInfoAlterEvent::$bundle

Created on 9 April 2024, 9 months ago
Updated 28 June 2024, 6 months ago

Problem/Motivation

Drush throws fatal error after update from 4.0.0 to 4.0.1

Fatal error: Cannot redeclare Drupal\core_event_dispatcher\Event\Entity\EntityBundleFieldInfoAlterEvent::$bundle in /web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Entity/EntityBundleFieldInfoAlterEvent.php on line 43

Downgrade to 4.0.0 fixes the error.

🐛 Bug report
Status

Closed: outdated

Version

4.0

Component

Code

Created by

🇧🇪Belgium matthiaso Leuven

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

Comments & Activities

Production build 0.71.5 2024