500 - Internal Server Error
The request was not completed due to an internal error on the server side!

Cannot use object of type Illuminate\Database\Eloquent\Builder as array