My error Appeared like this in the browser. Log file is not getting updated with any extra data as well. In fact if i use \Log::info() then also i am getting this error.
If I use Log::Info() code line for that also I am getting the same error. And when i try to get some data from the database table I am getting the same error ...
I have other sites as well. For those I am not facing any error like this. For this only site I am getting this error that too for the selected routes and selected model classes!
I have database table as "user_profiles" and i have created Model class as UserProfile and given protected $table = "user_profiles";
When i have used that model in the controller for getting data from that table and return view('modules.profile')->withData($this->data); I am getting this error.
But if i comment out this line $this->data->profile = UserProfile::get(); then everything working fine. Also when i tried to use Log::info() then also i am getting the error.
Check that an infinite loop isn't occurring in all of the files relating to the route. I'm pretty sure I had this same error a while back as I was looping indefinitely.