Добрых времен суток и тд! Такая проблема: Я полнейший камень в PHP, просто дуб. Имеется следующая проблема - ОШИБКИ:
Warning: Illegal string offset 'relative' in /var/www/u0465529/data/www/righthelm.ru/libraries/src/HTML/HTMLHelper.php on line 626
Warning: Illegal string offset 'pathOnly' in /var/www/u0465529/data/www/righthelm.ru/libraries/src/HTML/HTMLHelper.php on line 627
Warning: Illegal string offset 'detectBrowser' in /var/www/u0465529/data/www/righthelm.ru/libraries/src/HTML/HTMLHelper.php on line 628
Warning: Illegal string offset 'detectDebug' in /var/www/u0465529/data/www/righthelm.ru/libraries/src/HTML/HTMLHelper.php on line 629
Warning: Illegal string offset 'relative' in /var/www/u0465529/data/www/righthelm.ru/libraries/src/HTML/HTMLHelper.php on line 632
Warning: Illegal string offset 'detectBrowser' in /var/www/u0465529/data/www/righthelm.ru/libraries/src/HTML/HTMLHelper.php on line 632
Warning: Illegal string offset 'detectDebug' in /var/www/u0465529/data/www/righthelm.ru/libraries/src/HTML/HTMLHelper.php on line 632
Warning: Illegal string offset 'pathOnly' in /var/www/u0465529/data/www/righthelm.ru/libraries/src/HTML/HTMLHelper.php on line 635
Вот код на который идут жалобы
// B/C before 3.7.0
if (!is_array($attribs))
{
Log::add('The stylesheet method signature used has changed, use (file, options, attributes) instead.', Log::WARNING, 'deprecated');
$argList = func_get_args();
$options = array();
// Old parameters.
$attribs = isset($argList[1]) ? $argList[1] : array();
$options['relative'] = isset($argList[2]) ? $argList[2] : false;
$options['pathOnly'] = isset($argList[3]) ? $argList[3] : false;
$options['detectBrowser'] = isset($argList[4]) ? $argList[4] : true;
$options['detectDebug'] = isset($argList[5]) ? $argList[5] : true;
}
else
{
$options['relative'] = isset($options['relative']) ? $options['relative'] : false;
$options['pathOnly'] = isset($options['pathOnly']) ? $options['pathOnly'] : false;
$options['detectBrowser'] = isset($options['detectBrowser']) ? $options['detectBrowser'] : true;
$options['detectDebug'] = isset($options['detectDebug']) ? $options['detectDebug'] : true;
}
$includes = static::includeRelativeFiles('css', $file, $options['relative'], $options['detectBrowser'], $options['detectDebug']);
// If only path is required
if ($options['pathOnly'])
{
if (count($includes) === 0)
{
return;
}
if (count($includes) === 1)
{
return $includes[0];
}
return $includes;
}
Помогите, пожалуйста.
Апостиль в Лос-Анджелесе без лишних нервов и бумажной волокиты
Основные этапы разработки сайта для стоматологической клиники
Продвижение своими сайтами как стратегия роста и независимости