Всем привет!
Ошибка
Notice: Undefined variable: this in /var/www/u0381790/data/www/metprom24.ru/libraries/cms/application/cms.php on line 439
Код:public function getMenu($name = null, $options = array())
{
if (!isset($name)) {
$name = $this->getName();
}
// Inject this application object into the JMenu tree if one isn't already specified
if (!isset($options['app'])) {
$options['app'] = $this; // 439 строка
}
try {
$menu = JMenu::getInstance($name, $options);
} catch (Exception $e) {
return;
}
return $menu;
}
Спасибо.