SyntaxFix
Write A Post
Hire A Developer
Questions
If you are using Sentry check the logged in user with Sentry::getUser()->id. The error you get is that the Auth::user() returns NULL and it tries to get id from NULL hence the error trying to get a property from a non-object.
Sentry
Sentry::getUser()->id
Auth::user()
trying to get a property from a non-object