?
avatar sancheznahu
sancheznahu
13 Apr 2018

Steps to reproduce the issue

I'm experiencing a problem after update joomla! to version 3.8.6, the module menuwrench no load submenu items.
The option "Show Sub-menu Items" its ok.

In error.php

PHP Notice: Indirect modification of overloaded property Joomla\CMS\Menu\MenuItem::$children has no effect in /var/www/unm/modules/mod_menuwrench/helper.php on line 84,

In line 84 and context:

`
$this->app = joomla\CMS\factory::getApplication();
$this->db = joomla\CMS\factory::getDbo();

$this->menu = $this->app->getMenu();
$items = $this->menu->getItems(null, null);

foreach ($items as $key => $item)
{

		$items[$item->id] = $item;

		// If menu item is a category, add all articles as menu items
		if ($showCategoryItems && $this->isContent($item))
		{
			$items[$item->id]->hijo = $this->linkCategoryItems(
				$this->getCategoryItems($item->query['id']),
				$item->query['id'],
				$item->id
			);
		}

		unset($items[$key]);

		if ($item->parent_id != 1)
		{
			$items[$item->parent_id]->hijo[$item->id] = $item; <--Line 84
		}
	}

`

Expected result

Menu and submenu listed.

Actual result

Menu listed, the module canĀ“t list submenus

System information (as much as possible)

Joomla! 3.8.6
OS: Debian
Php: 5.6

Additional comments

avatar sancheznahu sancheznahu - open - 13 Apr 2018
avatar joomla-cms-bot joomla-cms-bot - change - 13 Apr 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 13 Apr 2018
avatar brianteeman
brianteeman - comment - 13 Apr 2018

mod_menuwrench is not a core module and you should contact the people who made it or ask for help on the forum https://forum.joomla.org

avatar brianteeman brianteeman - close - 13 Apr 2018
avatar brianteeman brianteeman - change - 13 Apr 2018
Status New Closed
Closed_Date 0000-00-00 00:00:00 2018-04-13 21:43:10
Closed_By brianteeman
avatar ot2sen
ot2sen - comment - 13 Apr 2018

You would have to ask Matt @betweenbrain to update their core improvement module. Not default joomla. Look at https://extensions.joomla.org/extensions/extension/structure-a-navigation/menu-systems/menu-wrench/ and support options mentioned there

Add a Comment

Login with GitHub to post a comment