Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't delete contribution records in CiviCRM #74

Open
Upperholme opened this issue Jul 8, 2020 · 0 comments
Open

Can't delete contribution records in CiviCRM #74

Upperholme opened this issue Jul 8, 2020 · 0 comments

Comments

@Upperholme
Copy link

Recently got this installed and running on a second site, and have spotted a couple of issues:

I put through a few dummy transactions in Civi to make sure everything was doing what it was supposed to. When I try and delete any of these it doesn't work. Nothing on-screen, but the log reports a foreign key constraint:

[user_info] => DELETE FROM civicrm_contribution WHERE ( civicrm_contribution.id = 2 ) [nativecode=1451 ** Cannot delete or update a parent row: a foreign key constraint fails (vcare_2.civicrm_account_invoice,
CONSTRAINT FK_civicrm_account_invoice_contribution_id FOREIGN KEY (contribution_id) REFERENCES civicrm_contribution (id))]

Have I set CiviXero up incorrectly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant