Problem/Motivation

With Drupal 10.4.1 and Taxonomy Entity Index 1.19, I get the following error:

PHP Fatal error:  Type of Drupal\taxonomy_entity_index\Plugin\views\argument\TaxonomyEntityIndexDepth::$entityRepository must be Drupal\Core\Entity\EntityStorageInterface|Drupal\Core\Entity\EntityRepositoryInterface (as in class Drupal\taxonomy\Plugin\views\argument\IndexTidDepth)

Seems to be related with the change from #3500586: Error accessing the administration form which might not be compatible with D10.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mrshowerman created an issue. See original summary.

thejimbirch’s picture

I have run into this also, WSOD with Drupal 10.4.1 and Taxonomy Entity Index 1.19.

Downgrading to Taxonomy Entity Index 1.18 removed the error.

larowlan’s picture

Damn, maintaining a module that supports both versions is becoming difficult

Seeing what I can do

larowlan’s picture

ok, CI picking this up with some gitlab changes https://git.drupalcode.org/project/taxonomy_entity_index/-/jobs/4090537
Onto the fix

  • larowlan committed 4f70858d on 8.x-1.x
    Issue #3501171: Fatal error on Drupal 10.4
    
larowlan’s picture

Status: Active » Fixed

Sorry for the hassle folks, cutting 1.20

thejimbirch’s picture

Thanks for the quick response! Was literally writing my commit message, Hard codes at 1.18 until ... and came here to get the issue #.

I can confirm 1.20 no longer WSOD in 10.4.

larowlan’s picture

release early release often 🎉

mrshowerman’s picture

Status: Fixed » Active

Thanks a lot for the quick fix 🙏🏻

mrshowerman’s picture

Status: Active » Fixed
larowlan’s picture

Thank you for reporting 👍

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.