We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i am getting following error
Call to a member function getModel() on null Symfony\Component\Debug\Exception\FatalThrowableError ...\vendor\wildside\userstamps\src\Userstamps.php
and error is thrown from
protected function getUserClass() { if (get_class(auth()) === 'Illuminate\Auth\Guard') { return auth() -> getProvider() -> getModel(); } return auth() -> guard() -> getProvider() -> getModel(); }
but when i replace eht auth()->gurad() to auth()->guard('web') it works
protected function getUserClass() { if (get_class(auth()) === 'Illuminate\Auth\Guard') { return auth() -> getProvider() -> getModel(); } return auth() -> guard('web') -> getProvider() -> getModel(); }
i am using laravel 5.5 and passport api authentication
The text was updated successfully, but these errors were encountered:
I can't reproduce this on a clean Laravel 5.5 install using Passport.
If you can provide a simplified reproducible example repository I'll re-open this and take a look.
Sorry, something went wrong.
No branches or pull requests
i am getting following error
Call to a member function getModel() on null
Symfony\Component\Debug\Exception\FatalThrowableError
...\vendor\wildside\userstamps\src\Userstamps.php
and error is thrown from
but when i replace eht auth()->gurad()
to
auth()->guard('web') it works
i am using laravel 5.5 and passport api authentication
The text was updated successfully, but these errors were encountered: