TaxonomyEntityIndexDepth type conflict

Created on 10 July 2024, 6 months ago
Updated 1 August 2024, 5 months ago

Hi there!

I'm running D10.3.1 with the stable release of this module, when I add the "TaxonomyEntityIndexDepth" contextual filter to a view, I get the following error:

TypeError: abs(): Argument #1 ($num) must be of type int|float, string given in abs() (line 100 of modules/contrib/taxonomy_entity_index/src/Plugin/views/argument/TaxonomyEntityIndexDepth.php).

I'm not sure whether thats because theres an issue with Drupal itself saving the depth form value as a string when it shouldn't be, or if it needs to be cast in the abs() statement.

Thanks!

* edit: running on php 8.2

πŸ› Bug report
Status

Fixed

Version

1.16

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom siliconandincense

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