I get the following error when trying to activate Easy Mega Menu:
Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp7\htdocs\jpsport\modules\mod_jux_easy_megamenu\includes\menu\menu.php on line 119
Im running on PH 7.2 on localhost
The error refers to this section in the menu.php file
if (@$children[$id] && $level <= $maxlevel) {
foreach ($children[$id] as $v) {
$id = $v->id;
$list[$id] = $v; $list[$id]->children = count(@$children[$id]);
$list[$id]->level = $level;
$list = $this->treerecurse($id, $list, $children, $maxlevel, $level + 1);
}
}
And seems to sprung form this update in PHP7.2 7.2.0 count() will now yield a warning on invalid countable types passed to the array_or_countable parameter.
You're assistance in matter will be highly appreciated.
Hi Mart-Marie
Sorry for late reply, we have 1 holiday weekend
You can send information login back-end via email: This email address is being protected from spambots. You need JavaScript enabled to view it.
I will check it for you soon
Thanks
I have the same php version running and there is the same problem occurring:
Warning: count(): Parameter must be an array or an object that implements Countable in modules/mod_jux_easy_megamenu/includes/menu/menu.php on line 119.
The warning has disappeared with this code change. Thank you.
Now that I can edit the menu I realise that the column width does not work as it should. I've added a second column to a menu item und put both of them to width 6 with the result you can see in the image.
Hi again
Can may conflict CSS, you can send information login back-end via email: This email address is being protected from spambots. You need JavaScript enabled to view it.
I will check it for you soon
Thanks