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
Issue fork taxonomy_entity_index-3501171
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
Comment #2
thejimbirch commentedI 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.
Comment #3
larowlanDamn, maintaining a module that supports both versions is becoming difficult
Seeing what I can do
Comment #5
larowlanok, CI picking this up with some gitlab changes https://git.drupalcode.org/project/taxonomy_entity_index/-/jobs/4090537
Onto the fix
Comment #7
larowlanSorry for the hassle folks, cutting 1.20
Comment #8
thejimbirch commentedThanks 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.
Comment #9
larowlanrelease early release often 🎉
Comment #10
mrshowermanThanks a lot for the quick fix 🙏🏻
Comment #11
mrshowermanComment #12
larowlanThank you for reporting 👍