We have a problem...
The application encountered a fatal database error.
Error Code:
1451
Error Message:
Cannot delete or update a parent row: a foreign key constraint fails (`bshop`.`Orders`, CONSTRAINT `Orders_ibfk_1` FOREIGN KEY (`AccountID`) REFERENCES `Accounts` (`AccountID`))
MySQL Query:
DELETE FROM Accounts
WHERE AccountID = 11
Please contact the webmaster if the problem persists.
Click here to go back to the home page.
On page : https://domain.com/admin.php?page=accou ... 3c70f32954
I had to disable the user, then I tried to remove it and worked. The email was made on the same domain as the website. Mabe its a glitch or something.
[bug] We have a problem...
Re: [bug] We have a problem...
If the user has made an order then you cannot completely delete that account because the order is linked to the account. Disabling the account is the solution in that situation.