Cannot view user page

Created on 10 April 2025, 9 days ago

When navigating to /user/1 after enabling Navigation+ through the plus_suite recipe I receive a The "" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() error.

I've tracked this down to line 122 of the Plugin/Mode/Edit.php file
$entity_type = \Drupal::entityTypeManager()->getStorage($entity->getEntityType()->getBundleEntityType())->load($entity->bundle());

The User entity->getBundleEntityType() returns NULL rather than anything useful, so getStorage method fails and the whole thing just blows up.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇺🇸United States drakythe

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