Answer the question
In order to leave comments, you need to log in
How to track errors on the site?
Online store customers sometimes complain that they can't place an order. Something hung, then when choosing a payment on the site, the form simply closed, confirming the order, but not opening the payment window. Apparently there are some technical errors (somewhere the scripts were not loaded, somewhere there is incompatibility with old browsers, something else), which I cannot reproduce. How do you catch them?
For example, the Yandex webvisor suggests itself, I’ll probably start with it, maybe it will be seen what the problem is on the side of a particular client. Are there any other solutions?
Answer the question
In order to leave comments, you need to log in
public function confirmUser($event_id){
$event = CreateEvent::find($event_id); // тут get не нужен
$part = DB::table('participants')->where('event',$event->event_id)->get(); // тут get нужен
$followers = collect([]);
foreach($part as $participant) {
$followers->push(['user_id' => $participant->follower]);
}
return $followers;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question