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:-
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/05/image-70-1024x408.png)
Thanks for reading ššš.