Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-288

error whan adding contact to groups

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Array
      (
      [callback] => Array
      (
      [0] => CRM_Core_Error
      [1] => handle
      )

      [code] => -3
      [message] => DB Error: constraint violation
      [mode] => 16
      [debug_info] => INSERT INTO civicrm_group_contact (contact_id , status ) VALUES ( 101 , 'In' ) [nativecode=1216 ** Cannot add or update a child row: a foreign key constraint fails]
      [type] => db_error
      [user_info] => INSERT INTO civicrm_group_contact (contact_id , status ) VALUES ( 101 , 'In' ) [nativecode=1216 ** Cannot add or update a child row: a foreign key constraint fails]
      [to_string] => [db_error: message="DB Error: constraint violation" code=-3 mode=callback callback=CRM_Core_Error::handle prefix="" info="INSERT INTO civicrm_group_contact (contact_id , status ) VALUES ( 101 , 'In' ) [nativecode=1216 ** Cannot add or update a child row: a foreign key constraint fails]"]
      )

      GK

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              Anonymous
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: