- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 539
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
User Model missing methods #2795
Comments
Can you please provide your |
sure, attached both files. |
for record: i changed the user storage as described in the documentation: https://statamic.dev/knowledge-base/storing-users-in-a-database |
Thanks! I think I see the issue. It's not you, it's me. |
Hei, is there any workaround? Can I copy a User class from the statamic vendor folder? Thanks |
Bug Description
Changed User Management to Database but getting in some cases an Model error. Like password function is missing, after new User clicked on the E-Mail link.
BadMethodCallException Call to undefined method App\Models\User::password()
Also last login is still NULL.
How to Reproduce
Add new User, send E-Mail, click on the E-Mail Link
Extra Detail
BadMethodCallExceptionPOST /!/auth/activate
Call to undefined method App\Models\User::password()
Stacktrace:
Environment
Statamic version: 3.0.{?}
Statamic 3.0.22 Pro Laravel 8.12.3 PHP 7.3.11 phpsa/statamic-analytics 1.0.0 rias/statamic-redirect 1.3.1 statamic/seo-pro 2.0.14
PHP version: 7.{?}
Install method (choose one):
The text was updated successfully, but these errors were encountered: