I downloaded jf_well-benessere-quickstart
and install successful but i have problem with menu on top (main menu)
SCREAM: Error suppression ignored for( ! )
Notice: Undefined index: 1 in D:wampwwwjf_well-benessere-quickstart-25-spatemplatesjf_well-benesserescriptsphpmainmenu.php on line 47
Here is code of mainmenu.php:
//work out if this should be highlighted
$sql = "SELECT m.* FROM #__menu AS m"
. "nWHERE menutype='". $menutype ."' AND m.published='1'";
$database->setQuery( $sql );
$subrows = $database->loadObjectList( 'id' );
$maxrecurse = 5;
$parentid = $Itemid;
//this makes sure toplevel stays hilighted when submenu active
while ($maxrecurse-- > 0) {
$parentid = getParentRow($subrows, $parentid);
Line 47: if (isset($parentid) && $parentid >= 0 && $subrows[$parentid]) {
$hilightid = $parentid;
} else {
break;
}
}
[attachment:1]C:fakepatherrorPHP.jpg[/attachment]