Closed (outdated)
Project:
Nice Menus
Version:
7.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Feb 2013 at 13:59 UTC
Updated:
2 May 2024 at 08:15 UTC
Jump to comment: Most recent
Comments
Comment #1
dajjenI have the same problem when using nice menu with menu token.
I have a link to user/[current-user:uid] and a child menu item pointing to user/[current-user:uid]/edit
This Menu only works for users having the permission "Administer users" for all other users it will generate
Notice: Undefined index: localized_options in theme_nice_menus_build() (line 596 of 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 1632 and defined in l() (line 2432 of /includes/common.inc).
Comment #2
dajjenI just got it to work!
If I set the settings in /admin/structure/menu/item/your-menu-item-nr/edit
under "Menu Token options" and under "Method for Users" set to "User from context".
Then it looks like user's that didn't have the "Administer users" permission to be able to se the link and not get that error message.
Don't really know why, but it seems like it works.
Comment #3
fraweg commentedHello,
thanks a lot for your post...
Best regards
Frank
Comment #4
arne_hortell commentedWhatever reason is doing this problem fix #2 works...
Can somebody enlighten WHY???
Comment #5
astonvictor commentedI'm closing it because the issue was created a long time ago without any further steps.
if you still need it then raise a new one.
thanks