MenuPositionActiveTrail conflicts with other modules altering the MenuActiveTrail service

Created on 2 June 2022, almost 3 years ago
Updated 29 May 2023, almost 2 years ago

Problem/Motivation

Module won't enable.

Steps to reproduce

When enabling the module, I at met with this error in console:

[02-Jun-2022 15:08:44 UTC] PHP Fatal error: Uncaught TypeError: Drupal\menu_position\Menu\MenuPositionActiveTrail::__construct(): Argument #5 ($entity_type_manager) must be of type Drupal\Core\Entity\EntityTypeManagerInterface, Drupal\context\ContextManager given, called in /var/www/html/docroot/core/lib/Drupal/Component/DependencyInjection/Container.php on line 262 and defined in /var/www/html/docroot/modules/contrib/menu_position/src/Menu/MenuPositionActiveTrail.php:48

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States kevinquillen

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.

Production build 0.71.5 2024