Update error messages from "vector" to "array"