Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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).
Comment | File | Size | Author |
---|---|---|---|
#8 | custom_breadcrumbs-fixed_undefined_index_bug-1366394-8-do-not-test.patch | 950 bytes | sourabh.singhal |
#9 | after.png | 46.51 KB | lomasr |
#9 | patch_apply.png | 39.16 KB | lomasr |
#9 | before.png | 47.1 KB | lomasr |
Comments
Comment #0.0
waltf CreditAttribution: waltf commentededit spelling
Comment #1
szt CreditAttribution: szt commentedThe possible reason if the experimental "Force the active trail" setting is enabled at admin/config/user-interface/custom-breadcrumbs.
Comment #2
Marko B CreditAttribution: Marko B commentedI had same problem, and yes this "force active trail" made a mess. It also made my language switcher stop working and showing.
Comment #4
gaele CreditAttribution: gaele commented@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.
Comment #4.0
gaele CreditAttribution: gaele commentededit
Comment #5
jphelan CreditAttribution: jphelan commentedI'm having this issue on both 7.x-2.x-dev and 7.x-2.0-alpha3. It breaks all the menus.
Comment #6
szt CreditAttribution: szt commentedSame issue on 7.x-2.0-beta1.
Comment #7
sourabh.singhal CreditAttribution: sourabh.singhal as a volunteer and at Faichi Solutions Pvt Ltd for Faichi Solutions Pvt Ltd commentedComment #8
sourabh.singhal CreditAttribution: sourabh.singhal as a volunteer and at Faichi Solutions Pvt Ltd for Faichi Solutions Pvt Ltd commentedHi waltf,
I have fixed this issue and prepared a patch for the same. Please review and let me know if any thing else required.
Thanks
Sourdrup
Comment #9
lomasr CreditAttribution: lomasr at gai Technologies Pvt Ltd for gai Technologies Pvt Ltd commentedPatch removed the error (Enabled the "Force the active trail" setting) Please see screens.
Comment #10
sourabh.singhal CreditAttribution: sourabh.singhal as a volunteer and at Faichi Solutions Pvt Ltd for Faichi Solutions Pvt Ltd commentedHi 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.
Thanks
Sourdrup
Comment #11
nikhilsukul CreditAttribution: nikhilsukul as a volunteer and at Faichi Solutions Pvt Ltd for Faichi Solutions Pvt Ltd commentedThanks @sourdrup,
It is working fine for me as well
Comment #12
c_archer CreditAttribution: c_archer as a volunteer and at Upbeat Productions commentedHi,
Thanks for the patch this worked as expected for me.
Cheers,
Chris
Comment #13
renatogHi people.
Make sense. Thank you very much for contribution.
Good Work.
Comment #15
renatogFixed.
Commited in dev branch.
Thank you very much people.
Good Work.
Regards.