Skip to content
New issue

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

Activation::complete method returns PHP Fatal error: Uncaught RuntimeException: A facade root has not been set error #563

Open
Edydeyemi opened this issue Feb 18, 2022 · 0 comments

Comments

@Edydeyemi
Copy link

Your Environment

  • OS and Version: Windows 10
  • PHP Version: 7.3
  • Sentinel Version: 5.0

Hi guys,
I am trying out Sentinel, but I am facing a challenge. Each time I call the Activation::complete method like this (Activation::complete($user, 'epzDOg6OHsHKLq5f5SPPdg7A9iUh2ukC')) I get an error message.
`PHP Fatal error: Uncaught RuntimeException: A facade root has not been set. in C:\wamp64\www\practice\vendor\illuminate\support\Facades\Facade.php:258

Using the Sentinel::registerAndActivate() method works fine; user is created and activated. But I want activation to be done separately. Please any ideas about what I am doing wrong?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant