Сайт на движке Joomla на странице выдает
Error displaying the error page: Could not find template "".: Could not find template ""
В логе есть следующие предупреждения:
Warning: Creating default object from empty value in /home/p512675/www/example.ru/libraries/cms/application/site.php on line 531
Warning: count(): Parameter must be an array or an object that implements Countable in /home/p512675/www/example.ru/libraries/cms/application/cms.php on line 460
вот первый участок кода со строкой 460 => if (!count($this->_messageQueue))
// For empty queue, if messages exists in the session, enqueue them.
if (!count($this->_messageQueue))
{
$session = JFactory::getSession();
$sessionQueue = $session->get('application.queue');
if (count($sessionQueue))
{
$this->_messageQueue = $sessionQueue;
$session->set('application.queue', null);
}
вот второй участок кода со строкой 531
// Need to filter the default value as well
$template->template = JFilterInput::getInstance()->clean($template->template, 'cmd');
Продвижение своими сайтами как стратегия роста и независимости