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.
Hi,
This commit from issue #2063113: no active trail for menu item/link with token is creating some notice errors:
Notice: Undefined offset: 1 in _menu_translate() (line 787 of includes/menu.inc).
Included, the patch to fix them.
Comment | File | Size | Author |
---|---|---|---|
#4 | 2838033.patch | 432 bytes | Pol |
|
Comments
Comment #2
PolHere's the patch for 7.x-1.x.
Comment #3
PolHi,
After checking deeper, it looks like the following patch has more sense.
Comment #4
PolThe previous patch includes unwanted code that I forgot to remove while doing my tests.
Here's a final version of the patch.
Comment #5
4kant CreditAttribution: 4kant commentedThanks Pol,
#4 helped me.
Merry christmas!
Comment #6
NWOM CreditAttribution: NWOM commented#4 worked great. Thank you.
Comment #7
DevElCuy CreditAttribution: DevElCuy at Dilygent commentedAre you sure Menu Token keeps working the same with this patch? The menu item created by this module is absolutely critical, if it is not set right, everything will break!!
Please RTBC only if you have tested all functionality.
Thanks!
Comment #8
NWOM CreditAttribution: NWOM commented@develCuy, It is in use and working with this patch successfully. I wouldn't have RTBCed it otherwise. All functionality seems to be intact thus far.
Comment #9
PolYes the module works with the latest patch of this thread.
Comment #10
MaskOta CreditAttribution: MaskOta commentedPatche worked for me aswell. Thanks
Comment #12
DevElCuy CreditAttribution: DevElCuy at Dilygent commentedThanks for the patch @Pol!