When adding a new individual with a current employer we are getting the following error:

Error thrown

Call to undefined method CRM_Contact_BAO_Relationship::legacyCreateMultiple()

The individual contact is created but no link to the employer. If we try to add the current employer on the contact summary screen we get the following:

Network Error Unable to reach the server. Please refresh this page in your browser and try again.

We can add the relationship under the relationship tab.

We upgraded CiviCRM to 5.61.4 from 5.58.1 and cleared the cache. No change after that. There is nothing in the PHP logs of the CiviCRM logs. Behavior seems to be unique to this site. Nothing has changed recently.

WordPress site running Version 6.2.2

Thanks in advance for any thoughts.

  • The site must be having custom code or extension using the function? Commented Jun 13, 2023 at 16:15
  • Did some hunting and found some custom legacy php custom files from a previous developer. Taking that out corrected the problem.
    – KilakwaBT
    Commented Jun 14, 2023 at 18:18

1 Answer 1


CRM_Contact_BAO_Relationship::legacyCreateMultiple() was removed last year after being deprecated for seven years. Are you perhaps using Grant Applications? Looks like it still has to be removed from there.

Might want to post an issue there and provide a fix if you're able.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.