bolt / users

Bolt users extension.
MIT License
8 stars 7 forks source link

Bolt\Entity\Content::setStatus() error when trying to access '/profile' and '/profile/edit' routes #7

Closed crim3hound closed 3 years ago

crim3hound commented 3 years ago

I have installed the Bolt Users extension and would like to save additional user information in a contenttype as described in the documentation. I have implemented the appropriate contenttype, and the authentication flow works. However, when I try to access the profile view and profile edit pages, i.e. /profile and /profile/edit, the error below is thrown:

Argument 1 passed to Bolt\Entity\Content::setStatus() must be of the type string, null given, called in C:\laragon\www\xxxxx\vendor\bolt\core\src\Entity\Content.php on line 189 (see screenshot)

I'm not sure what the issue could be. Any assistance would be greatly appreciated.

Screenshot 2020-10-12 165917