i just enabled the menu breadcrumb module and now the taxonomy module stopped working getting this error:

Fatal error: Call to undefined function _taxonomy_menu_get_item() in /home/portal/sites/all/modules/taxonomy_menu/taxonomy_menu.module on line 918

thanks in advance

CommentFileSizeAuthor
#1 taxonomy_menu-656210-1.patch1.2 KBindytechcook

Comments

indytechcook’s picture

Status: Active » Needs review
StatusFileSize
new1.2 KB

This is occurring in taxonomy_menu_translated_menu_link_alter(). Most likely because _taxonomy_menu_get_item() is in the taxonomy_menu.database.inc file and not the main module. The file is included on hook_init but perhaps hook_menu_link_alter is not respecting hook_init. Attached is a patch including the file at the beginning of taxonomy_menu_translated_menu_link_alter().

NOTE: This is applied to 2.4-RC1.

mattez’s picture

Works form me! Thanx!

indytechcook’s picture

Status: Needs review » Reviewed & tested by the community

setting to RTBC. I'll commit soonn.

indytechcook’s picture

Status: Reviewed & tested by the community » Fixed

This is part of the latest release.

Status: Fixed » Closed (fixed)

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