Wrong formatting of `$fields` ? Or is this supposed to be a placeholder for <any variable name>? In this case, use something like `$myFields`