CiviCooP / org.civicoop.documents

CiviCRM Documents extension
4 stars 10 forks source link

De-duplicating contacts brings fatal error #28

Open wintermoor opened 3 years ago

wintermoor commented 3 years ago

De-duplicating contacts with default rule "Name and Address (reserved)" brings a fatal error with CiviCRM 5.37.2 on WordPress 5.8.1. Deactivating the Documenten extension helps. Maybe there is a better way?

Fatal error: Uncaught Error: Access to undeclared static property: CRM_Documents_DAO_DocumentEntity::$_links in /homepages/8/d870413500/htdocs/civicrm/wordpress/wp-content/uploads/civicrm/ext/org.civicoop.documents/CRM/Documents/DAO/DocumentEntity.php:48 Stack trace: #0 /homepages/8/d870413500/htdocs/civicrm/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/DAO.php(2477): CRM_Documents_DAO_DocumentEntity::getReferenceColumns() #1 /homepages/8/d870413500/htdocs/civicrm/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/DAO.php(2505): CRM_Core_DAO::getReferencesToTable('civicrm_contact') #2 /homepages/8/d870413500/htdocs/civicrm/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Dedupe/Merger.php(227): CRM_Core_DAO::getReferencesToContactTable() #3 /homepages/8/d870413500/htdocs/civicrm/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Dedupe/Merger.php(188): CRM_Dedupe_Merger::cidRefs() #4 /homepages/8/d870413500/htdocs/civicrm/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Dedupe/MergeHandler.php(108): CRM_Dedupe_Me in /homepages/8/d870413500/htdocs/civicrm/wordpress/wp-content/uploads/civicrm/ext/org.civicoop.documents/CRM/Documents/DAO/DocumentEntity.php on line 48

aydun commented 2 years ago

I also came across this in 1.12 Fixed by upgrading to 1.14