I'm getting an error when trying to compile LESS to CSS:
Notice: Uninitialized string offset: 0 in /home/domain/public_html/plugins/system/t3/includes/core/path.php on line 211
One minute it was working fine, the next it just started throwing up this error. I thought perhaps I'd made an error in my LESS file but no, it's not that. I removed the offending code from the path.PHP file, which did 'fix' the error, but only so I could make the change to the CSS. Obviously I need to fix this issue properly.
The lines I removed:
// root-relative protocol (non-data) data protocol
if ($uri[0] !== '/' && strpos($uri, '://') === false && strpos($uri, 'data:') !== 0) {
$uri = self::cleanPath(self::$srcurl . '/' . $uri);
}
Can anyone help me understand what#s gone wrong here?