Q: Trying to access array offset on value of type null in scss.inc.php on line 1753 While dealing with WordPress i encountered the error  Trying to access array offset on value of type null in scss.inc.php on line 1753
    protected function sortArgs($prototype, $args) {
        $keyArgs = array();
        $posArgs = array();

        foreach ($args as $arg) {
            list($key, $value) = $arg;
            $key = $key[1]; //LINE 1753******
            if (empty($key)) {
                $posArgs[] = $value;
            } else {
                $keyArgs[$key] = $value;
            }
        }

        if (!isset($prototype)) return $posArgs;

        $finalArgs = array();
        foreach ($prototype as $i => $names) {
            if (isset($posArgs[$i])) {
                $finalArgs[] = $posArgs[$i];
                continue;
            }

Screenshot of the wordpress log
