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

fraweg’s picture

Version: 7.x-1.x-dev » 7.x-1.2
fraweg’s picture

Hello,

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

"user/[current-user:uid]/relationships"

the error is there.

Does someome have an idea for a solution?

Best regards
Frank

fraweg’s picture

Priority: Major » Critical

I 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

zengenuity’s picture

Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

First 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?

fraweg’s picture

Hello,

thanks for your answer..

The message you posted says the error is with Nice Menus. Did you post an issue in that module's queue?

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

fraweg’s picture

Priority: Normal » Critical
zengenuity’s picture

Priority: Critical » Normal
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

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

fraweg’s picture

Hello,

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.

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.

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

fraweg’s picture

Ok, 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

fraweg’s picture

Issue summary: View changes

changes