After updating a test site to Drupal 9, the following error would happen when either trying to access a View that was already using the Name Depth, or trying to add it:

Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "entity.manager". in Drupal\Component\DependencyInjection\Container->get()

To resolve for Drupal 9, will need to update 'entity.manager' to be 'entity_type.manager'.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ZeiferDev created an issue. See original summary.

CozyDrupalNerd’s picture

Here is the patch to resolve the issue.

rakesh.gectcr’s picture

Status: Active » Needs review

Thanks for the patch

rakesh.gectcr’s picture

Status: Needs review » Fixed

rakesh.gectcr’s picture

rakesh.gectcr’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.