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

Adding a taxonomy term to user causes error #2826

Closed
jbardnz opened this issue Nov 10, 2020 · 1 comment
Closed

Adding a taxonomy term to user causes error #2826

jbardnz opened this issue Nov 10, 2020 · 1 comment

Comments

@jbardnz
Copy link

jbardnz commented Nov 10, 2020

Bug Description

Error message: Call to undefined method Statamic\Auth\Eloquent\User::locale() (View: /home/jarrad/projects/partners/vendor/statamic/cms/resources/views/partials/scripts.blade.php)

How to Reproduce

Add a taxonomy term field to the user blueprint (In my case I am using the eloquent user driver)

Extra Detail

image

Environment

Statamic 3.0.25 Pro
Laravel 8.13.0
PHP 7.4.9
No addons installed

Install method (choose one):

  • Fresh install from statamic/statamic
@duncanmcclean
Copy link
Member

I can confirm, it happens when a user with a taxonomy term in their user file attempts to login to the Control Panel.

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

Successfully merging a pull request may close this issue.

2 participants