Home >Backend Development >PHP Tutorial >laravel dingo/api abnormal repeated output json

laravel dingo/api abnormal repeated output json

WBOY
WBOYOriginal
2016-12-01 00:56:381294browse

Laravel repeatedly outputs two jsons after integrating dingo/api management API

<code>{"message":"Trying to get property of non-object","status_code":500}{"message":"Trying to get property of non-object","status_code":500}</code>

Is this a configuration error or is this component incompatible?
laravel5.3
dingo/api: 1.0.x@dev

Reply content:

Laravel repeatedly outputs two jsons after integrating dingo/api management API

<code>{"message":"Trying to get property of non-object","status_code":500}{"message":"Trying to get property of non-object","status_code":500}</code>

Is this a configuration error or is this component incompatible?
laravel5.3
dingo/api: 1.0.x@dev

Trying to get property of non-object
$json=$obj->name;$obj may be null or not an object, please check it

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn