TypeError: Drupal\core_event_dispatcher\Event\Entity\EntityBundleFieldInfoAlterEvent::__construct(): Argument #3 ($bundle) must be of type string|int, null given,

Created on 27 November 2024, 25 days ago

Error occurs when machine name field widget is used with entities without bundles
TypeError: Drupal\core_event_dispatcher\Event\Entity\EntityBundleFieldInfoAlterEvent::__construct(): Argument #3 ($bundle) must be of type string|int, null given, called in /var/www/html/web/modules/contrib/hook_event_dispatcher/src/Plugin/Factory/EventFactory.php on line 26 in Drupal\core_event_dispatcher\Event\Entity\EntityBundleFieldInfoAlterEvent->__construct() (line 36 of /var/www/html/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Entity/EntityBundleFieldInfoAlterEvent.php).

🐛 Bug report
Status

Active

Version

4.0

Component

Code

Created by

🇵🇱Poland szymon-gorecki

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