Fatal error while installing the Domain and Submodules

Created on 13 June 2025, 11 days ago

Drupal Version

11.x

Domain module version

2.0.0-beta2

Expected Behavior

The domain module and all sub-modules should be installed without any errors.

Actual Behavior

  • Got a fatal error first
  • Drupal\Component\Plugin\Exception\PluginNotFoundException: The "domain" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 139 of /var/www/html/core/lib/Drupal/Core/Entity/EntityTypeManager.php).

  • Then refresh the page again, and the modules will be installed.

Steps to reproduce

  1. Download Drupal 11.x
  2. Download domain module using composer composer require 'drupal/domain:^2.0@beta'
  3. Go to the Extend and select the Domain module and all sub-modules and hit the "Install" button
🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇮🇳India prashant.c Dharamshala

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

Comments & Activities

  • Issue created by @prashant.c
  • 🇫🇷France mably

    Do you have the full stack trace available?

  • 🇫🇷France mably

    Just installed the 2.0.x dev version of the Domain module on a fresh Drupal 11 install without any problem.

    Could you give us a repeatable scenario allowing to reproduce the bug from a fresh Drupal 11 install?

Production build 0.71.5 2024