Ошибка = Undefined index: 50009 администрации 1 в theme_nice_menus_tree (line406)nice_menus/nice_menus.module при этом в системе в качестве администратора меню таксономии элементы исчезают

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

xiukun.zhou’s picture

Hi Stealth.

clear cache

Stealth’s picture

thank you for you response ,cleared drupal cache and deleted browser cookies still didn't fix it. please help.

xiukun.zhou’s picture

Status: Active » Postponed (maintainer needs more info)

Hi Stealth, thanks
i needs more info,
is nice_menus-2.x-dev? and menu information.

robbertnl’s picture

Check your parent menu selection setting, try selecting another

ycshen’s picture

hi 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

if (!empty($mlid) && !empty($menu)) {

谢艳’s picture

haha, well done!

Leko-1’s picture

Hey 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!

zavyalov.andrey.1972’s picture

Issue summary: View changes

  • xiukun.zhou committed 2268ce4 on 7.x-2.x authored by ycshen
    Issue #2013232 Fix Undefined index: 50009 Administration 1 in...
xiukun.zhou’s picture

Status: Postponed (maintainer needs more info) » Fixed

Thanks ycshen.

Commit: 2268ce4

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.