Views directory must be a string or an array