API Request does not work anymore!

Uncaught Error: Cannot use object of type stdClass as array