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

laravel dingo/api abnormal repeated output json

WBOY
Release: 2023-03-01 22:44:01
Original
1286 people have browsed it

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>
Copy after login
Copy after login

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>
Copy after login
Copy after login

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template