- π³πΏNew Zealand quietone
@thomas-at-passerelle, Thank you for reporting this problem. We rely on issue reports like this to improve Drupal core.
I tested this on Drupal 10.1.x, standard install in Italian. I used devel_generate to make 1000 terms in the Tags vocabulary. I followed the steps in the issues summary and like @yovanny.gomez.oyola I was not able to reproduce this problem
Therefore, closing as cannot reproduce. If you are experiencing this problem on a supported version of Drupal reopen the issue, by setting the status to 'Active', and provide complete steps to reproduce the issue β (starting from "Install Drupal core").
Thanks!
- π¦π·Argentina sharif.elshobkshy
Hi.
I'm seeing the same bug on one of the testing environments. This indeed seems to be related to big taxonomy trees.
Additionally, other tickets exist to discuss/address this.- https://www.drupal.org/project/drupal/issues/2786793 π Notice: Undefined index: depth in Drupal\taxonomy\Form\OverviewTerms Closed: outdated
- https://www.drupal.org/project/drupal/issues/763380 π Do not use \Drupal\taxonomy\TermStorageInterface::loadTree() in \Drupal\taxonomy\Form\OverviewTerms::buildForm() Postponed
- https://www.drupal.org/project/drupal/issues/3367182 π Undefined array key "depth" ActiveThis is definitely an ongoing bug.
Thanks.
- πΊπΈUnited States troybthompson
I'm having the same issue. I tried reducing the number of terms per page but it doesn't seem to have an effect. I believe it's because I have a hierarchy and it tries to show all terms per parent on the same page?
I also get an error about the depth key:
Warning: Undefined array key "depth" in Drupal\taxonomy\Form\OverviewTerms->buildForm() (line 254 of /usr/www/users/.../web/core/modules/taxonomy/src/Form/OverviewTerms.php)This taxonomy was imported from a Drupal 7 site, maybe something didn't get converted correctly? I also have multiple languages. I've edited ones that cause an error and re-saved and that doesn't change things.
Not all terms on the page get an error entry, it seems like just the ones after the first 250 if that number means something.
Hopefully this is helpful?