- 🇺🇸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. - 🇭🇺Hungary aron novak Hungary, Budapest
We experience this on 10.3.6.
/admin/structure/menu
throws this strange fatal error.$a = \Drupal::entityTypeManager()->getDefinition('menu'); print_r($a);
As you can see, the menu definition gets impartial, but it's not behaving the same way at every cache rebuild.
If there would be a faulty alter hook, I'd expect that it would kick in every time.A cache clear may or may not fix it. The subsequent cache clear may break it again.
On this site, which is domain-enabled, high traffic site, it seems like a race condition. However I could reproduce it on a low-traffic non-live environment too, while trying to access admin pages during a cache clear.
We do not use Redis, APCU, only pure database backend for the bins.