It is impossible to create custom breadcrumbs for term or vocabulary

When on this page : admin/structure/custom_breadcrumbs
If you click on the "Term" tab, this error appears:
Fatal error: Call to undefined function custom_breadcrumbs_common_form_elements() in C:\xampp\htdocs\tecnotree\sites\all\modules\custom_breadcrumbs\custom_breadcrumbs_taxonomy\custom_breadcrumbs_taxonomy.admin.inc on line 54

If you click on the "Vocabulary" tab, this error appears:
Fatal error: Call to undefined function custom_breadcrumbs_common_form_elements() in C:\xampp\htdocs\tecnotree\sites\all\modules\custom_breadcrumbs\custom_breadcrumbs_taxonomy\custom_breadcrumbs_taxonomy.admin.inc on line 121

"Custom Breadcrumbs for Taxonomy" is enabled

Comments

MGN’s picture

Status: Active » Fixed

Looks like the wrong include file was being loaded. This has now been fixed in the latest commit.

Status: Fixed » Closed (fixed)

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

marcoBauli’s picture

Version: 7.x-2.x-dev » 6.x-2.x-dev
Status: Closed (fixed) » Active

this happens in 6.x too.

the patch for D7 works for D6 too anyway. Thx

asb’s picture

Priority: Normal » Major
Issue summary: View changes

Almost two years later this appears still not to have been fixed.

  • Clicking on ./admin/build/custom_breadcrumbs/taxonomy_term/add results in a WSOD
  • Clicking on ./admin/build/custom_breadcrumbs/taxonomy_vocabulary/add results in a WSOD

Watchdog log reports something like:

[Wed Mar 12 15:46:08 2014] [error] [client …] PHP Fatal error: Call to undefined function custom_breadcrumbs_common_form_elements() in /var/www/d6/sites/all/modules/custom_breadcrumbs/custom_breadcrumbs_taxonomy/custom_breadcrumbs_taxonomy.admin.inc on line 40, referer: http://…

This applies to custom_breadcrumbs-6.x-2.x-dev as downloaded on March 11th 2014 (which is the latest version available for download).

lamp5’s picture

Status: Active » Closed (outdated)