I am unable to make certain edits to CiviCRM; unable to edit certain records and unable to edit the visibility of groups.
I think the problem is this: Cannot add or update a child row: a foreign key constraint fails (`ea...")
The error message is referring to a group '58' which I deleted and replaced with group "62".
How do I find the exact problem and fix it?
I'm on WP 4.5.3 with CiviCRM 4.7.9.
Here is the error message:
Database Error Code: Cannot add or update a child row: a foreign key constraint fails (
xxx_civicrm
.civicrm_group_contact
, CONSTRAINTFK_civicrm_group_contact_group_id
FOREIGN KEY (group_id
) REFERENCEScivicrm_group
(id
) ON DELETE CASCADE), 1452