Hi, I would like to ask on how to resolve this issue since I could not proceeed in creating user accounts

This is the error we are encountering upon creating an account

When I tried to check the system logs, this is the error we encountered
" DB Error #1062
[INSERT INTO ost_team_member SET team_id = '51', flags = 1] Duplicate entry '51-0' for key 'PRIMARY'

---- Backtrace ----
#0 C:\inetpub\wwwroot\tklservicedesk\include\mysqli.php(200): osTicket->logDBError()
#1 C:\inetpub\wwwroot\tklservicedesk\include\class.orm.php(3459): db_query()
#2 C:\inetpub\wwwroot\tklservicedesk\include\class.orm.php(658): MySqlExecutor->execute()
#3 C:\inetpub\wwwroot\tklservicedesk\include\class.staff.php(801): VerySimpleModel->save()
#4 C:\inetpub\wwwroot\tklservicedesk\include\class.staff.php(1143): Staff->updateTeams()
#5 C:\inetpub\wwwroot\tklservicedesk\scp\staff.php(47): Staff->update()
#6 {main}"

    kel_gorl

    The db error has nothing to do with adding a User as the db error is in relation to Teams which is only available to Agents. Do you have any hidden fields? Do you have permission to add users (Admin Panel > Agents > Agents > click your name > click Permissions > Users > Create).

    Cheers.

      KevinTheJedi Yes, I do have permissions. Actually, I weekly create an account, but this time it displays an error

      kel_gorl

      Try disabling email verification (Admin Panel > Emails > Settings > Verify Email Addresses) and retest. If that works then your server is having DNS issues or the email domain has issues with their MX/A/AAAA records.

      Cheers.

        KevinTheJedi Hi, I have tried to disable the Verify Email Address Domain, but it still displays an error upon creation of user.

          kel_gorl

          Oof then I can’t really assist any further. You are way behind and likely have a bug going on that’s already been addressed.

          Cheers.

            kel_gorl

            There’s no guarantee however you are way behind and using an old unsupported version. So upgrading would be your best option. You can do a test upgrade and test to see.

            Cheers.

              Write a Reply...