Internal Server Error

Cannot use object of type Guzzle\Http\Message\Response as array