- Issue created by @aman_lnwebworks
- 🇮🇳India aman_lnwebworks
I have created MR!98 and also added patch for above issue
Please review it once .
Thank you
- 🇺🇸United States pcfoster
See the same issue for earlier version: https://www.drupal.org/project/tb_megamenu/issues/3228907 →
Solution suggested in that previous version removes the "title" key from the "lis" array in favor of simple increment:
from$vars['lis'][$weight][$title] = [..]
to$vars['lis'][$weight][] = [..]
.
Might this be a better solution than typing the $title variable ($title = (string) $item->link->getTitle();
? Also previous issue noted a second instance of this issue (template_preprocess_tb_megamenu_subnav as well as template_preprocess_tb_megamenu_nav). - 🇺🇸United States pcfoster
Closing as duplicate of https://www.drupal.org/project/tb_megamenu/issues/3502972 🐛 Adding user account menu in mega menu causes error Active . aman_lnwebworks solution here is same solution as in 35002972; adding aman_Inwebworks name to other ticket for moderator to consider granting credit as well.