You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to return a simple response with "Unauthorized"
returnresponse()->json("Unauthorized", 401)
The variable $data on src/Debugger.php line 117 will then be "Unauthorized".
This will cause a crash on line 123 on the same function when attempting to add the debugging details to the $data variable which is a string, not an object.
Activity
baldonhc commentedon Jun 10, 2020
Any fix on this? I don't want to disable debugbar but this error is holding me. :(