Hallo Leute,
ich hoffe ihr könnt ihr mir weiterhelfen. Ich bekomme folgenden Fehler aus meiner Seite:
Warning: Illegal string offset 'relative' in /var/www/web1328/html/site/libraries/src/HTML/HTMLHelper.php on line 626
Warning: Illegal string offset 'pathOnly' in /var/www/web1328/html/site/libraries/src/HTML/HTMLHelper.php on line 627
Warning: Illegal string offset 'detectBrowser' in /var/www/web1328/html/site/libraries/src/HTML/HTMLHelper.php on line 628
Warning: Illegal string offset 'detectDebug' in /var/www/web1328/html/site/libraries/src/HTML/HTMLHelper.php on line 629
Warning: Illegal string offset 'relative' in /var/www/web1328/html/site/libraries/src/HTML/HTMLHelper.php on line 632
Warning: Illegal string offset 'detectBrowser' in /var/www/web1328/html/site/libraries/src/HTML/HTMLHelper.php on line 632
Warning: Illegal string offset 'detectDebug' in /var/www/web1328/html/site/libraries/src/HTML/HTMLHelper.php on line 632
Warning: Illegal string offset 'pathOnly' in /var/www/web1328/html/site/libraries/src/HTML/HTMLHelper.php on line 635
Alles anzeigen
Die betreffende Datei sieht wie folgt aus:
public static function stylesheet($file, $options = array(), $attribs = array())
{
// 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
{
ZEILE 626: $options['relative'] = isset($options['relative']) ? $options['relative'] : false;
ZEILE 627: $options['pathOnly'] = isset($options['pathOnly']) ? $options['pathOnly'] : false;
ZEILE 628: $options['detectBrowser'] = isset($options['detectBrowser']) ? $options['detectBrowser'] : true;
ZEILE 629: $options['detectDebug'] = isset($options['detectDebug']) ? $options['detectDebug'] : true;
}
ZEILE 632: $includes = static::includeRelativeFiles('css', $file, $options['relative'], $options['detectBrowser'], $options['detectDebug']);
Alles anzeigen
Dies scheint irgendwas mit falschen bzw "alten" css Dateinen zu tun haben, bin mir aber nicht sicher welche falsch sind und was da genau.
Könnt ihr mir bitte weiterhelfen den Fehler zu finden?
Vielen Dank!
Viele Grüße
La Fleur