Installation failure on Drupal 11

Created on 9 December 2024, 10 days ago

The changes committed from issue #3445991 🐛 Fatal errors in 10.3 due to parent constructor changes Fixed for the file src/Plugin/views/argument/TaxonomyEntityIndexDepth.php is causing installation failure with error

PHP Fatal error:  Type of Drupal\taxonomy_entity_index\Plugin\views\argument\TaxonomyEntityIndexDepth::$entityRepository must be Drupal\Core\Entity\EntityRepositoryInterface (as in class Drupal\taxonomy\Plugin\views\argument\IndexTidDepth) in /var/www/html/web/modules/contrib/taxonomy_entity_index/src/Plugin/views/argument/TaxonomyEntityIndexDepth.php on line 0

This is because the DeprecationHelper::backwardsCompatibleCall was placed to differentiate arguments list between Drupal 10.3 and current(preferably ^11), but still placed the parent::__construct($configuration, $plugin_id, $plugin_definition, $termStorage); which is okay on version earlier than Drupal ^11, but causing failure on Drupal ^11.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇮🇳India vipin.j

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