Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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'.
Comment | File | Size | Author |
---|---|---|---|
#2 | 3158158-2-views-taxonomy-term-name-depth-non-service.patch | 742 bytes | CozyDrupalNerd |
Comments
Comment #2
CozyDrupalNerd CreditAttribution: CozyDrupalNerd as a volunteer commentedHere is the patch to resolve the issue.
Comment #3
rakesh.gectcrThanks for the patch
Comment #4
rakesh.gectcrComment #6
rakesh.gectcrComment #7
rakesh.gectcr