I’m no PHP expert, but changing the first line of that function into
if (isset($args[2]) && isset($args[2][1]) && $args[2][1] == 0) {
adds a null check to the $args[2][1] and seems to stop the message from appearing at my instance without any other effects (but how can you be sure in a source with 5000+ lines).
I can’t find this file in the Nextcloud repo on Github. Can someone tell me what this it belongs to so that I can run tests and submit a patch?
EDIT: never mind, found it: https://github.com/scssphp/scssphp