we use the template "TerranTribune" and have changed the provider.
Now we have an error by using the editor function in the frontend, the error is:
Warning: in_array() [
function.in-array]: Wrong datatype for second argument in /homepages/37/d97651138/htdocs/blaetz-hp-2012/templates/rt_terrantribune/html/mod_menu/default.php on line 48
The part of default.php (==> 3rd line):
if ($item->type == 'alias' &&
in_array($item->params->get('aliasoptions'),$path)
|| in_array($item->id, $path)) {
$class .= ' active';
}
Does anyone know what the problem is? On the provider before we had no problems. It could be a problem with PHP?
the error (or warning) is only given if the startpage is an article and you click on edit (frontend). So I mean this is an issue within the default.php (mod_menu).
In the issue case the variable $path isn't set or is set to null and the check in_array show the warning because the second variable "$path" is null.
Could anyone from the RocketTheme-Team can take a look into the default.php?
same issue here
the menu is not displayed because of the class current on the pages generated by components - actually on all pages that are not directly linked to the menu