With 7.x-2.x i get following problems:

Undefined index: menu_item in custom_breadcrumbs_theme_registry_alter() (line 841 ...sites/all/modules/custom_breadcrumbs/custom_breadcrumbs.module).`

Undefined index: menu_item in custom_breadcrumbs_theme_registry_alter() (line 842 ...sites/all/modules/custom_breadcrumbs/custom_breadcrumbs.module).


waltf’s picture

Issue summary: View changes

edit spelling

szt’s picture

Status: Active » Needs review

The possible reason if the experimental "Force the active trail" setting is enabled at admin/config/user-interface/custom-breadcrumbs.

Marko B’s picture

Status: Needs review » Fixed

I had same problem, and yes this "force active trail" made a mess. It also made my language switcher stop working and showing.

Status: Fixed » Closed (fixed)

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

gaele’s picture

Priority: Critical » Normal
Status: Closed (fixed) » Active

@szt and deepM:

The bug still exists and there's no patch or solution, only a work-around (disable the "Force the active trail" setting), so "active" would be the right status for this issue. This way the module maintainers may notice and can look into it themselves.

I ran into this myself and need this functionality.

gaele’s picture

Issue summary: View changes


jphelan’s picture

Priority: Normal » Major
Issue summary: View changes

I'm having this issue on both 7.x-2.x-dev and 7.x-2.0-alpha3. It breaks all the menus.

szt’s picture

Same issue on 7.x-2.0-beta1.

sourdrup’s picture

Assigned: Unassigned » sourdrup
sourdrup’s picture

Status: Active » Needs review
950 bytes

Hi waltf,

I have fixed this issue and prepared a patch for the same. Please review and let me know if any thing else required.


lomasr’s picture

47.1 KB
39.16 KB
46.51 KB

Patch removed the error (Enabled the "Force the active trail" setting) Please see screens.

sourdrup’s picture

Hi lomasr,

Thanks for reviewing the patch, it seems the bug is fixed.

@waltf, can you please let me know, in case if you need any thing else from my side.
Do let me know when you will be able to close this ticket.


nikhilsukul’s picture

Assigned: sourdrup » Unassigned
Status: Needs review » Reviewed & tested by the community

Thanks @sourdrup,

It is working fine for me as well

c_archer’s picture


Thanks for the patch this worked as expected for me.