-
Notifications
You must be signed in to change notification settings - Fork 641
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
Error: Missing contentTable field in Matrix field when calling Craft::$app->getUsers()->getUserByUsernameOrEmail() #3389
Comments
Copy/Paste of "pretty" version of stack trace (to see function call arguments):
|
|
Figured it out - my composer.json for my plugin was referencing an older version of Craft. #facepalm |
Or that :) |
Description
I'm seeing the following error when attempting to pull a user in a plugin, using getUserFromUsernameOrEmail:
I confirmed there is a contentTable property in the settings column for the Matrix field in question, so it appears there is an issue with setting that property for Matrix fields when building a list of fields as part of the getUserFromUsernameOrEmail call chain.
Full stack trace can be found below.
Steps to reproduce
Additional info
Stack Trace:
The text was updated successfully, but these errors were encountered: