pacely/mailchimp-api-v3

Collection collapse() method throwing an error : array_merge(): Argument #2 is not an array

Closed this issue · 1 comments

Hello,

When calling the /lists/{list_id} resource using the GET method, I'm getting this error :

array_merge(): Argument #2 is not an array

Line 79, the collapse() method is throwing that error :

return $method == 'get' ? $collection->collapse() : $collection;

When I'm just returning $collection, it's working. I'm not sure how to fix that?

Thanks for making that library, very helpful! :)

Sorry about that, @Tailzip. Should be good now.