Skip to content

Error while creating a new user or updating password in V1.6 #508

Description

@lawvisiondev

What steps will reproduce the problem?

After the update to v1.6 creating a new user or updating a password using the webinterface causes 500 internal server errors.
Create User: (using new valid e-mail-address, new unique username, password
Open new form - /index.php?r=user/admin/create
After entering the username, password the console shows an 500 internal server error (jquery.js)

Console shows error:
try {
// Do send the request (this may raise an exception)
xhr.send( options.hasContent && options.data || null );
} catch ( e ) { ... }

Log:
2023-02-24 21:08:09 [IP-ADDRESS][3][63kvbvmu2shmsb4aqsl05pb0jv][error][yii\base\UnknownPropertyException] yii\base\UnknownPropertyException: Getting unknown property: Da\User\Model\User::auth_tf_type in /var/www/html/WEBSITE/htdocs/advanced/vendor/yiisoft/yii2/base/Component.php:154

In Database field auth_tf_type is available (no value)

Update User.
Same problem when updating a password/username of an existing user. (index.php?r=user/admin/update&id=5)
Updating Profile-Data (f.ex. index.php?r=user/admin/update-profile&id=5) is working without problems

What is the expected result?

Create: New User is created
Update: Updated Data (Username, Password, e-mail) is saved.

What do you get instead?

500 internal server error
Getting unknown property: Da\User\Model\User::auth_tf_type

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions