ArgumentCountError: Too few arguments to function in TaxonomyManagerHelper

Created on 22 September 2024, 7 months ago

Problem/Motivation

After upgrading to 2.0.15; whenever I access any taxonomy vocabulary, I get:
ArgumentCountError: Too few arguments to function Drupal\taxonomy_manager\TaxonomyManagerHelper

Location http:///admin/structure/taxonomy_manager/voc/
Referrer http:///admin/structure/taxonomy_manager/voc
Message ArgumentCountError: Too few arguments to function Drupal\taxonomy_manager\TaxonomyManagerHelper::__construct(), 4 passed in /
__construct() (line 68 of /

Steps to reproduce

composer require 'drupal/taxonomy_manager:^2.0'

Proposed resolution

Line 68 of 'TaxonomyManagerHelper'

  public function __construct(
                                                             EntityTypeManagerInterface $entity_type_manager, 
                                                             LanguageManagerInterface $language_manager, 
                                                             AccountInterface $current_user, 
                                                             ModuleHandlerInterface $module_handler, 
                                                             EntityLastInstalledSchemaRepositoryInterface $entityLastInstalledSchemaRepository) {

I'm not sure what is missing, from the above constructor it's clear that this function consumes 5 parameters

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024