In this tutorial im going to solve Array to string conversion {“exception”:”[object] (ErrorException(code: 0): this error is coming when i try to print all data in log whatever coming in request let’s go to solve this error.
Error:-
Array to string conversion {"exception":"[object] (ErrorException(code: 0):
Solution:-
Log::info("request main kiya aa rha hai" . print_r($input,true));
Output:-
Thanks for reading ššš.