Hi
The message is about the foreign key user_id. It seems that auth()->user()->id is null or empty. Check if your user is logged before call the Auth method. If(auth()->check())
Thank you very much for reacting on my post. I found the errors and i correct it. I used the nullabe function into the database file. I'll post the code ASAP
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community