Skip to content

cant delete user #23

Description

@svstoya-cyber

I am logged in as "Administrator". I went to the "Users" page (there was no search on this page), clicked "Edit" on a user, and then the delete confirmation modal popped up. I clicked "Confirm", and got the following error:

SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (forum.user_roles, CONSTRAINT user_roles_user_id_foreign FOREIGN KEY (user_id) REFERENCES users (id))

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions