Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Database Error Code: Cannot add or update a child row: a foreign key constraint fails (`gsa_civi`., CONSTRAINT `FK_civicrm_pcp_block_supporter_profile_id` FOREIGN KEY (`supporter_profile_id`) REFERENCES `civicrm_uf_group` (`id`)), 1452
- Additional Details:
- Array
- (
- [callback] => Array
- (
- [0] => CRM_Core_Error
- [1] => handle
- )
- [code] => -3
- [message] => DB Error: constraint violation
- [mode] => 16
- [debug_info] => ALTER TABLE `civicrm_pcp_block`
- ADD CONSTRAINT `FK_civicrm_pcp_block_supporter_profile_id` FOREIGN KEY (`supporter_profile_id`) REFERENCES `civicrm_uf_group` (`id`) ON DELETE SET NULL [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`gsa_civi`.<result 2 when explaining filename '#sql-399c_117'>, CONSTRAINT `FK_civicrm_pcp_block_supporter_profile_id` FOREIGN KEY (`supporter_profile_id`) REFERENCES `civicrm_uf_group` (`id`))]
- [type] => DB_Error
- [user_info] => ALTER TABLE `civicrm_pcp_block`
- ADD CONSTRAINT `FK_civicrm_pcp_block_supporter_profile_id` FOREIGN KEY (`supporter_profile_id`) REFERENCES `civicrm_uf_group` (`id`) ON DELETE SET NULL [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`gsa_civi`.<result 2 when explaining filename '#sql-399c_117'>, CONSTRAINT `FK_civicrm_pcp_block_supporter_profile_id` FOREIGN KEY (`supporter_profile_id`) REFERENCES `civicrm_uf_group` (`id`))]
- [to_string] => [db_error: message="DB Error: constraint violation" code=-3 mode=callback callback=CRM_Core_Error::handle prefix="" info="ALTER TABLE `civicrm_pcp_block`
- ADD CONSTRAINT `FK_civicrm_pcp_block_supporter_profile_id` FOREIGN KEY (`supporter_profile_id`) REFERENCES `civicrm_uf_group` (`id`) ON DELETE SET NULL [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`gsa_civi`.<result 2 when explaining filename '#sql-399c_117'>, CONSTRAINT `FK_civicrm_pcp_block_supporter_profile_id` FOREIGN KEY (`supporter_profile_id`) REFERENCES `civicrm_uf_group` (`id`))]"]
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement