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.
Hello,
when I use this module withe the Relationship badges I got this errors an the site does not work anymore:
Notice: Undefined index: localized_options in theme_nice_menus_build() (line 475 of /.../sites/all/modules/nice_menus/nice_menus.module).
Recoverable fatal error: Argument 3 passed to l() must be an array, null given, called in /.../includes/menu.inc on line 1631 and defined in l() (line 2413 of /.../includes/common.inc).
With the message badged everything works fine...
Thanks for any help!
Best regards
Frank
Comments
Comment #1
fraweg CreditAttribution: fraweg commentedComment #2
fraweg CreditAttribution: fraweg commentedHello,
I found the problem. This module does not work with Menu token "http://drupal.org/project/menu_token" . If there is a path in the menu like
the error is there.
Does someome have an idea for a solution?
Best regards
Frank
Comment #3
fraweg CreditAttribution: fraweg commentedI change this to critical. After use this module with menu token this issue is not gone when this (Menu badges) module will be uninstalled.. So maybe something leave in the database or there are changes which are not make undo. So I have to use a backup of the database to make this issue gone..
Best regards
Frank
Comment #4
zengenuity CreditAttribution: zengenuity commentedFirst off, please see the definitions of issue priority: http://drupal.org/node/45111
The message you posted says the error is with Nice Menus. Did you post an issue in that module's queue?
Comment #5
fraweg CreditAttribution: fraweg commentedHello,
thanks for your answer..
No but I can do it too. This error exists only when I use your module together with menu token so I did also a post there.
http://drupal.org/node/1911560
You can easy reproduce this with menu token.
Best regards
Frank
Edit: You set the status to "(maintainer needs more info)".. What kind of more infos can I give you? Have you test it with the menu token? And I think this is a critical bug. The sites does no longer works if this issue take place. You have to make a rollback with your database. If this not..what is a critical bug...?
Comment #6
fraweg CreditAttribution: fraweg commentedComment #7
zengenuity CreditAttribution: zengenuity commentedPlease stop changing the status of this issue.
I can't reproduce your problem. I have installed Menu Token, and it works completely with this module. I've also installed Nice Menus at the same time. All three are working together without any problems.
I'm closing this issue for now, because it seems clear to me that the error is specifically with line 475 of the Nice Menus module. It is probably also related to some other unique configuration of your site, since I can't reproduce it. You can open a new issue if you are able to find some specific, reproducible steps I can take to prove this bug is the fault of Menu Badges.
Comment #8
fraweg CreditAttribution: fraweg commentedHello,
have you test it with non admin? I my configuration this issue only there for the non admin.
My configuration is:
- Nice menu at a block in the header
- Activate menu token and badges
- Use the menu token for example "user/[current-user:uid]/relationships"
- Use the badges with this menu "user/[current-user:uid]/relationships"
- For the admin everything works.
- But the user can not use the site after login
You can only make this issue gone when you delete the menu or rol back your database.. So for me this is a critical issue IMHO.
But why only with your module get this error? Why is the menu crashed after activate the badges modul? I can not belive that this is only an issue in the nice menu. But maybe I am alone with this issue...So I have to deactivate this module until there are other user with this issue...
Best regards
Frank
Comment #9
fraweg CreditAttribution: fraweg commentedOk, I testet on a fresh drupal installation with less modules...There it works :-( So this is really an issue of my special site... But I can not understand why..I use the same modules as on the other site...sorry about that...
Best regards
Frank
Comment #9.0
fraweg CreditAttribution: fraweg commentedchanges