Ciao a tutti
provando a installare la skin mi da il seguente errore nella index.
Warning: Missing argument 1 for JMenu::getInstance(), called in /home/web/www.stalk3r.com/www/templates/yoo_surface/lib/php/yootools.php on line 118 and defined in /home/web/www.stalk3r.com/www/libraries/joomla/application/menu.php on line 84
Fatal error: Call to a member function getActive() on a non-object in /home/web/www.stalk3r.com/www/templates/yoo_surface/lib/php/yootools.php on line 119
FILE=templates/yoo_surface/lib/php/yootools.php
RIGA117 function getActiveMenuItemNumber($menu, $level) {
RIGA118 $jmenu = &JMenu::getInstance();
RIGA119 $active = $jmenu->getActive();
$menutype = isset($active) ? $active->menutype : null;
$path = isset($active) ? $active->tree : array();
if ($menu == $menutype && array_key_exists($level, $path)) {
$item = $jmenu->getItem($path[$level]);
return $item->ordering;
}
FILE=/libraries/joomla/application/menu.php
RIGA=84 function &getInstance($client, $options = array())
{
static $instances;
if (!isset( $instances )) {
$instances = array();
}
if (empty($instances[$client]))
{
//Load the router object
$info =& JApplicationHelper::getClientInfo($client, true);
$path = $info->path.DS.'includes'.DS.'menu.php';
if(file_exists($path))
{
require_once $path;
// Create a JPathway object
$classname = 'JMenu'.ucfirst($client);
$instance = new $classname($options);
}
else
{
//$error = JError::raiseError( 500, 'Unable to load menu: '.$client);
$error = null; //Jinx : need to fix this
return $error;
}
$instances[$client] = & $instance;
}
return $instances[$client];
}
qualcuno mi puo aiutare? grazie...