Closed m-vdv closed 8 years ago
What's the code that generates this error?
@megawubs $trakt->movies->withImages()->withFull()->summary($token,$id)->toArray();
Are you sure it's Wubs\Trakt\Api\Movies
and not Wubs\Trakt\Media\Movie
? Because this call returns one movie object, it's automatically converted to a Wubs\Trakt\Media\Movie
instance. So it's not a collection
After the master update it is indeed: Error: Cannot use object of type Wubs\Trakt\Media\Movie as array
@webslash Wroking on a fix for it now
Error:
Attempted to call an undefined method named "toArray" of class "Wubs\Trakt\Api\Movies".