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.
This is probably an issue with my particular setup, but in some cases the breadcrumb links do not have a key for localized_options, causing a fatal error in common.inc l(), which doesn't check its input types.
I've found this patch to solve the issue.
I hope someone else also finds it useful.
Comment | File | Size | Author |
---|---|---|---|
#2 | menu_position.access-denied.2.patch | 611 bytes | sun |
menu_position-fatal.patch | 1.47 KB | AaronBauman |
Comments
Comment #1
sunConfirming.
Checking whether the patch is correct now.
Comment #2
sunAttached patch appears to be sufficient based on my testing.
FWIW, there's a related Drupal core issue for this case somewhere, but AFAIK, the bug isn't even fixed for D8/D7 yet. Therefore, I'd recommend to move forward with this stop-gap fix within menu_position.module for the time being.
Also, most likely this patch is required for 7.x, too.
Comment #3
sunThe Drupal core issue is #450620: Fatal error: Unsupported operand types in includes/common.inc on line 1551 (caused by menu.admin.inc)
Comment #4
BarisW CreditAttribution: BarisW as a volunteer and at LimoenGroen commentedSince D6 is not being updated anymore, I decided to cleanup the issue queue by closing all D6 issues.