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

500 error when current user’s photo doesn’t exist #3849

Closed
carlcs opened this issue Feb 15, 2019 · 1 comment
Closed

500 error when current user’s photo doesn’t exist #3849

carlcs opened this issue Feb 15, 2019 · 1 comment

Comments

@carlcs
Copy link
Contributor

carlcs commented Feb 15, 2019

Description

When I deleted my own user photo directly via the element action in Assets → Volume, I got this wonderful error

yii\base\InvalidConfigException: Invalid photo ID: 700 in /app/vendor/craftcms/cms/src/elements/User.php:1207

Stack trace: https://gist.github.com/carlcs/3d2bed36ac3dda9f37d6baa9f9780fd0

Additional info

  • Craft version: 3.1.11
@brandonkelly
Copy link
Member

We released 3.1.12 today with a fix for this.

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

2 participants