Support the ongoing development of Laravel.io →
Input Requests Database
Last updated 2 years ago.
0

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())

Last updated 5 years ago.
0

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

0

Sign in to participate in this thread!

Eventy

Your banner here too?

jozbruer jozbruer Joined 16 Feb 2019

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.