Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException: The "menu" entity type did not specify a storage handler. in Drupal\Core\Entity\EntityTypeManager->getHandler() (line 27

Created on 27 February 2020, over 4 years ago
Updated 29 April 2024, about 1 month ago

"Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException: The "menu" entity type did not specify a storage handler. in Drupal\Core\Entity\EntityTypeManager->getHandler() (line 27"

Seen on Drupal 8.8.2

After running composer update, from 8.8.1

Tried drush entup (using devel_entity_updates (depends on devel)) - doesn't fix the issue.

If it's saying that error message (as per title):

"Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException: The "menu" entity type did not specify a storage handler. in Drupal\Core\Entity\EntityTypeManager->getHandler() (line 27"

Then, how can I actually specify a storage handler for it - is it a config setting I can put in the config as code i.e. within a yml file?

deleting vendor folder
clearing composer cache
composer update --with-dependencies
or just
composer update

none of the above worked

The error is seen when running drush ws

It's fatal, the site shows: "The website encountered an unexpected error. Please try again later."

Searched already for this, not found anything where someone else has seen it.

🐛 Bug report
Status

Active

Version

11.0 🔥

Component
Entity 

Last updated 1 day ago

Created by

🇬🇧United Kingdom therobyouknow

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States aitala

    HI,

    I'm getting a similar error in D9.5.7

    Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException: The "menu" entity type did not specify a list_builder handler. in Drupal\Core\Entity\EntityTypeManager->getHandler() (line 256 of /var/www/vhosts/drupal9/core/lib/Drupal/Core/Entity/EntityTypeManager.php).

    I'm also unable to edit the Admin menu - trying to reorder some of the parent items.

    Eric

  • 🇮🇳India nishtha.pradhan

    I'm getting the same error as #16 on Drupal 10.2.5
    It goes away after invalidation Drupal cache a few times.
    But it is indeed a fatal error, the site shows: "The website encountered an unexpected error. Please try again later."
    All I did was open the site and try to go to a particular menu from the admin dashboard.

Production build 0.69.0 2024