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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sun’s picture

Title: Fatal error: Unsupported operand types in /home/philacul/sites/dev.philaculture.org/htdocs/includes/common.inc on line 1638 » Fatal error: Unsupported operand types in /includes/common.inc on line 1638
Priority: Normal » Critical

Confirming.

Checking whether the patch is correct now.

sun’s picture

Version: 6.x-1.0-beta1 » 6.x-1.x-dev
FileSize
611 bytes

Attached 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.

sun’s picture

BarisW’s picture

Issue summary: View changes
Status: Needs review » Closed (won't fix)

Since D6 is not being updated anymore, I decided to cleanup the issue queue by closing all D6 issues.