Convert view $data to array to avoid error message