When I do this, the user receives email without error: Notification::send($user, new TicketNotification($details));
But, when I do this, the user also receives an email , but with an error in screenshot below Notification::route('mail', $user->email)->notify(new TicketNotification($details));
Error: Call to a member function create() on null
Do have any idea why ? How can I avoid this error. I
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire