dd($googleEvent); inside your foreach to see if it has ->id
or
Event::whereBetween( Carbon::parse($request->from), Carbon::parse($request->to)->addDay(1))->get();
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community