Getting fatal error with Drupal 10.2.4

Created on 19 March 2024, 8 months ago
Updated 10 April 2024, 8 months ago

Problem/Motivation

Fatal error: Drupal\taxonomy\Plugin\views\filter\TaxonomyIndexTid and Drupal\cshs\Plugin\views\filter\CshsTaxonomyIndex define the same property ($entityRepository) in the composition of Drupal\cshs\Plugin\views\filter\CshsTaxonomyIndexTidDepth. However, the definition differs and is considered incompatible. Class was composed in /app/web/modules/contrib/cshs/src/Plugin/views/filter/CshsTaxonomyIndexTidDepth.php on line 12

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Postponed: needs info

Version

4.0

Component

Code

Created by

🇦🇲Armenia le72 Yerevan 🇦🇲

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

Comments & Activities

  • Issue created by @le72
  • Status changed to Postponed: needs info 8 months ago
  • 🇬🇷Greece vensires

    @le72, could you explain when this issue occurs? On the edit form? Or after saving the entity form?

  • 🇬🇷Greece iro

    I tested on Drupal 10.2.5 and I cannot reproduce.
    I added to an entity a term with four level depth using cshs. Edited and saved again with less depth and it works as expected.

Production build 0.71.5 2024