InvalidArgumentException thrown

item should be a Collection or an array or an object