lulus array dari controller laravel dengan kompak
// Its work For me
return view('site.dashboard.user_profile')
->with(compact('visits','user_details'));
Nipun
// Its work For me
return view('site.dashboard.user_profile')
->with(compact('visits','user_details'));