Fatal errors in 10.3 due to parent constructor changes

Created on 8 May 2024, 7 months ago
Updated 23 May 2024, 7 months ago

It seems that in drupal 10.3 taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php is passing only 4 arguments and its descendant, taxonomy_entity_index\Plugin\views\field\TaxonomyEntityIndexTid requires 5.

Too few arguments to function Drupal\taxonomy_entity_index\Plugin\views\field\TaxonomyEntityIndexTid::__construct(), 4 passed in /home/matslats/localhost/drupal/web/core/modules/taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php on line 49 and exactly 5 expected in Drupal\taxonomy_entity_index\Plugin\views\field\TaxonomyEntityIndexTid->__construct() (line 52 of modules/taxonomy_entity_index/src/Plugin/views/field/TaxonomyEntityIndexTid.php).

In addition in src/Plugin/views/field/TaxonomyEntityIndexTid.php there were references to the d7 table taxonomy_vocabulary.
Both these cause WSOD

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

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