laravel整合dingo/api管理API後異常重複輸出兩個json
<code>{"message":"Trying to get property of non-object","status_code":500}{"message":"Trying to get property of non-object","status_code":500}</code>
這是配置錯誤還是這個元件不相容
laravel5.3
dingo/api : 1.0.x@dev
laravel整合dingo/api管理API後異常重複輸出兩個json
<code>{"message":"Trying to get property of non-object","status_code":500}{"message":"Trying to get property of non-object","status_code":500}</code>
這是配置錯誤還是這個元件不相容
laravel5.3
dingo/api : 1.0.x@dev
Trying to get property of non-object
$json=$obj->name;$obj可能為null或不是對象,你檢查下