Skip to content

[3.0]: Changing login name #9224

@jdarwood007

Description

@jdarwood007

Basic Information

When you change the login name, the page breaks. Only tested with the current logged-in admin, may affect a different scope.

Steps to reproduce

  1. Login as an admin user
  2. Go to account settings
  3. Click to change the username
  4. Enter in new username and current password
  5. ( ! ) Fatal error: Uncaught Error: Typed property SMF\User::$id must not be accessed before initialization in /Sources/User.php on line 1538

Try to resubmit the page and get
( ! ) Fatal error: Uncaught mysqli_sql_exception: Data too long for column 'backtrace' at row 1 in /Sources/Db/APIs/MySQL.php on line 788

Go back to the main url and try to login, am told that credentials are invalid now
Reset my password and everything is working

Expected result

NO errors

Actual result

No response

Version/Git revision

91e3f53

Database Engine

All

Database Version

No response

PHP Version

No response

Logs

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions