Astroid-Framework icon indicating copy to clipboard operation
Astroid-Framework copied to clipboard

Error in mod_menu of astroid template

Open zafarnayab opened this issue 4 years ago • 1 comments

The Issue was reported at

  1. After adding "Sellacious Wishlist" to the main menu.

  2. Placing My Account and Login Module to the main menu.

it occur only with Astroid-Framework, otherwise it works fine with Helix Ultimate

Summary of the Issue

Notice: Undefined index: Itemid in /Applications/XAMPP/xamppfiles/htdocs/astro/components/com_sellacious/router.php on line 304

Notice: Trying to get property 'component' of non-object in /Applications/XAMPP/xamppfiles/htdocs/astro/components/com_sellacious/router.php on line 307

Steps to reproduce the issue

Remove blank space from /templates⁩ ▸ ⁨astroid_template_zero⁩ ▸ ⁨html⁩ ▸ ⁨mod_menu⁩ ▸ default_component.php on line 88

88. $item->link.' " title="'.$item->title.'">

Expected result

88. $item->link.'" title="'.$item->title.'">
Screenshot 2020-05-13 at 5 28 26 AM

zafarnayab avatar May 13 '20 18:05 zafarnayab

Thanks, this was fixed in the past and will be available in the next release. https://github.com/joomdev/Astroid-Framework/commit/54c87f6b132388ce167319b889177d43270e4725

chetanmadaan avatar May 14 '20 15:05 chetanmadaan