Cannot use object of type stdClass as array

json

This is “Cannot use object of type stdClass as array.” an common Fatal error in PHP Language when working with object and arrays. i will show how to fix this error if you will facing the issue with the error.

Solution One

Solution Two

Look this documentation for more details

Leave a Reply