Support the ongoing development of Laravel.io →
Input Requests Database
Last updated 4 months 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 3 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!

Cloudways

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?

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

© 2022 Laravel.io - All rights reserved.