Skip to content

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

@Edydeyemi

Description

@Edydeyemi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions