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.
Ошибка = Undefined index: 50009 администрации 1 в theme_nice_menus_tree (line406)nice_menus/nice_menus.module при этом в системе в качестве администратора меню таксономии элементы исчезают
Comment | File | Size | Author |
---|---|---|---|
#5 | nice_menus-remove-undefined-index-2013232-5.patch | 646 bytes | ycshen |
Comments
Comment #1
xiukun.zhou CreditAttribution: xiukun.zhou commentedHi Stealth.
clear cache
Comment #2
Stealth CreditAttribution: Stealth commentedthank you for you response ,cleared drupal cache and deleted browser cookies still didn't fix it. please help.
Comment #3
xiukun.zhou CreditAttribution: xiukun.zhou commentedHi Stealth, thanks
i needs more info,
is nice_menus-2.x-dev? and menu information.
Comment #4
robbertnl CreditAttribution: robbertnl commentedCheck your parent menu selection setting, try selecting another
Comment #5
ycshen CreditAttribution: ycshen commentedhi robbertnl,
you can use my patch in the attachment.
the reason why this "Undefined index" notice appeared is couresd by the variables "menu" in the theme function.
so i add a condition in .module line 493
Comment #6
谢艳 CreditAttribution: 谢艳 commentedhaha, well done!
Comment #7
Leko-1 CreditAttribution: Leko-1 commentedHey mate, thanks for posting this extra conditional. Had the same issue with Internet Explorer 11 trying to render my page. Did not get the error in Opera though. Guess it pays to check your site's appearance in multiple browsers.
Anyway, thanks again, nice one!
Comment #8
zavyalov.andrey.1972 CreditAttribution: zavyalov.andrey.1972 commentedComment #10
xiukun.zhou CreditAttribution: xiukun.zhou commentedThanks ycshen.
Commit: 2268ce4