Open jvillacriz opened 1 year ago
I'm also getting this error when I install Taxonomy menu from scratch. This is the error that is generated when I try to save a taxonomy term:
Too few arguments to function taxonomy_menu_handler(), 2 passed in /home/twincitiesamnest/ai37/web/modules/taxonomy_menu/taxonomy_menu.module on line 458 and at least 3 expected
During the install, the same errors as in comment one, and the errors below when trying to save changes to any items in a vocabulary assigned to a taxonomy menu.
This is the module unusable.
Try version 1.x-1.52
Same problem here... tried with php8 and other issues... 1.5.2 works for me.
Same problem, module throws fatal error when enabled on a taxonomy / while trying to generate the links. I submitted a pull request that's fixing the issue for me.
I applied the same fix as referred to by @eric2pin - it fixed this issue for me too, except my two-level taxonomy vocab is flattened into one level in the menu.
I can confirm @nattywebdev's decribed behavior after adding @eric2pin's fix. When rebuilding the menus, all levels are flattened.
@nattywebdev I've opened a new issue for this flattened menu problem. #13.
I'll provide a PR in a few minutes. Can you please test?
Sure can - let me know when it's ready.
I've submitted a more comprehensive PR that fixes this problem and also the term hierarchy issue #13. You may want to close this PR.
@nattywebdev to test, please patch the dev version with PR #14
@nattywebdev to test, you will need to:
Thanks for that info. I had uninstalled the taxonomy menu module as I didn't appreciate there would be this quick a fix, so applying #14 should be straightforward. I'll feed back shortly.
Re-installed, manually patched and linked to a menu and I can confirm my two-level taxonomy is replicated correctly in the menu. Thank you so much!
There is an error in version 1.x-1.53
As a result, the taxonomy menu cannot be displayed in the default layout.
But version 1.x-1.52 works fine.