Wordpress: Merge contacts not working ('CRM_Core_EntityReference' not found)
Overview
Merge contacts fails with error: Class 'CRM_Core_EntityReference' not found
This happens from all pages where contacts can be merged.
Reproduction steps
- Search contacts
- Select 2 hits
- Select Merge contacts
Current behaviour
Error: Class 'CRM_Core_EntityReference' not found
Expected behaviour
Contact should be merged.
Environment information
- Browser: Firefox 100+./Chrome 102.0.5005.63
- CiviCRM: 5.4.72
- PHP: 7.3
- CMS: WordPress 5.9.3