Yep, and I see that this problem is scheduled for resolution with the Nextcloud 19 Milestone (planned 5/21/20 release date)
Meanwhile (to keep my logfile activity at a sane level), does anyone know how to modify the PHP file in question to stop this error (for me itās /usr/share/webapps/nextcloud/3rdparty/leafo/scssphp/src/Compiler.php line 5230).
Hereās the function, and line #5230 reads $end = (int) $args[2][1];
below:
protected function libStrSlice($args)
{
if (isset($args[2]) && $args[2][1] == 0) {
return static::$nullString;
}
$string = $this->coerceString($args[0]);
$stringContent = $this->compileStringContent($string);
$start = (int) $args[1][1];
if ($start > 0) {
$start--;
}
$end = (int) $args[2][1];
$length = $end < 0 ? $end + 1 : ($end > 0 ? $end - $start : $end);
$string[2] = $length
? [substr($stringContent, $start, $length)]
: [substr($stringContent, $start)];
return $string;
}
I searched for a patch on github, but I didnāt find anything or this file and version