Skip to main content
deleted 147 characters in body; edited title
Source Link
Jern
  • 1.3k
  • 8
  • 12

Merge/dedupe Dedupe using Organisation Rulespostcode match - DB error - Array

We have a similar error to this post, but with Joomla 5.9.2 and CiviCRM 5.12.0. Error happens when trying to merge two contacts using Organisarion Rules Category and the following rules: Name andwith Postcode both exactly match, or URN or Email exactly match and also Name approx and Postcode exact. Backtrace is below. Any ideas what could be causing this error? Thanks.

Merge/dedupe using Organisation Rules - DB error

We have a similar error to this post, but with Joomla 5.9.2 and CiviCRM 5.12.0. Error happens when trying to merge two contacts using Organisarion Rules Category and the following rules: Name and Postcode both exactly match, or URN or Email exactly match and also Name approx and Postcode exact. Backtrace is below. Any ideas what could be causing this error? Thanks.

Dedupe using postcode match - DB error - Array

We have a similar error to this post, but with Joomla 5.9.2 and CiviCRM 5.12.0. Error happens when trying to merge two contacts with Postcode match. Backtrace is below. Any ideas what could be causing this error? Thanks.

added error output from log
Source Link
Jern
  • 1.3k
  • 8
  • 12

Error in log (formatting's a bit wonky - should all be one block):

[info] $Fatal Error Details = Array

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

[code] => -19
[message] => DB Error: no such field
[mode] => 16
[debug_info] => INSERT INTO dedupe (id1, id2, weight) SELECT t1.contact_id id1, t2.contact_id id2, 10 weight FROM civicrm_address t1 INNER JOIN civicrm_address t2 ON (t1.postal_code IS NOT NULL AND t2.postal_code IS NOT NULL AND t1.postal_code = t2.postal_code AND t1.postal_code <> '' AND t2.postal_code <> '' AND Array) WHERE t1.contact_id < t2.contact_id GROUP BY id1, id2, weight ON DUPLICATE KEY UPDATE weight = weight + VALUES(weight) [nativecode=1054 ** Unknown column 'Array' in 'on clause']
[type] => DB_Error
[user_info] => INSERT INTO dedupe (id1, id2, weight) SELECT t1.contact_id id1, t2.contact_id id2, 10 weight FROM civicrm_address t1 INNER JOIN civicrm_address t2 ON (t1.postal_code IS NOT NULL AND t2.postal_code IS NOT NULL AND t1.postal_code = t2.postal_code AND t1.postal_code <> '' AND t2.postal_code <> '' AND Array) WHERE t1.contact_id < t2.contact_id GROUP BY id1, id2, weight ON DUPLICATE KEY UPDATE weight = weight + VALUES(weight) [nativecode=1054 ** Unknown column 'Array' in 'on clause']
[to_string] => [db_error: message="DB Error: no such field" code=-19 mode=callback callback=CRM_Core_Error::handle prefix="" info="INSERT INTO dedupe (id1, id2, weight) SELECT t1.contact_id id1, t2.contact_id id2, 10 weight FROM civicrm_address t1 INNER JOIN civicrm_address t2 ON (t1.postal_code IS NOT NULL AND t2.postal_code IS NOT NULL AND t1.postal_code = t2.postal_code AND t1.postal_code <> '' AND t2.postal_code <> '' AND Array) WHERE t1.contact_id < t2.contact_id GROUP BY id1, id2, weight ON DUPLICATE KEY UPDATE weight = weight + VALUES(weight) [nativecode=1054 ** Unknown column 'Array' in 'on clause']"]

)

Error in log (formatting's a bit wonky - should all be one block):

[info] $Fatal Error Details = Array

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

[code] => -19
[message] => DB Error: no such field
[mode] => 16
[debug_info] => INSERT INTO dedupe (id1, id2, weight) SELECT t1.contact_id id1, t2.contact_id id2, 10 weight FROM civicrm_address t1 INNER JOIN civicrm_address t2 ON (t1.postal_code IS NOT NULL AND t2.postal_code IS NOT NULL AND t1.postal_code = t2.postal_code AND t1.postal_code <> '' AND t2.postal_code <> '' AND Array) WHERE t1.contact_id < t2.contact_id GROUP BY id1, id2, weight ON DUPLICATE KEY UPDATE weight = weight + VALUES(weight) [nativecode=1054 ** Unknown column 'Array' in 'on clause']
[type] => DB_Error
[user_info] => INSERT INTO dedupe (id1, id2, weight) SELECT t1.contact_id id1, t2.contact_id id2, 10 weight FROM civicrm_address t1 INNER JOIN civicrm_address t2 ON (t1.postal_code IS NOT NULL AND t2.postal_code IS NOT NULL AND t1.postal_code = t2.postal_code AND t1.postal_code <> '' AND t2.postal_code <> '' AND Array) WHERE t1.contact_id < t2.contact_id GROUP BY id1, id2, weight ON DUPLICATE KEY UPDATE weight = weight + VALUES(weight) [nativecode=1054 ** Unknown column 'Array' in 'on clause']
[to_string] => [db_error: message="DB Error: no such field" code=-19 mode=callback callback=CRM_Core_Error::handle prefix="" info="INSERT INTO dedupe (id1, id2, weight) SELECT t1.contact_id id1, t2.contact_id id2, 10 weight FROM civicrm_address t1 INNER JOIN civicrm_address t2 ON (t1.postal_code IS NOT NULL AND t2.postal_code IS NOT NULL AND t1.postal_code = t2.postal_code AND t1.postal_code <> '' AND t2.postal_code <> '' AND Array) WHERE t1.contact_id < t2.contact_id GROUP BY id1, id2, weight ON DUPLICATE KEY UPDATE weight = weight + VALUES(weight) [nativecode=1054 ** Unknown column 'Array' in 'on clause']"]

)

deleted 8 characters in body
Source Link
Jern
  • 1.3k
  • 8
  • 12

We have a similar same error as into this post, but with Joomla 5.9.2 and CiviCRM 5.12.0. Error happens when trying to merge two contacts using Organisarion Rules Category and the following rules: Name and Postcode both exactly match, or URN or Email exactly match and also Name approx and Postcode exact. Backtrace is below. Any ideas what could be causing this error? Thanks.

We have a similar same error as in this post, but with Joomla 5.9.2 and CiviCRM 5.12.0. Error happens when trying to merge two contacts using Organisarion Rules Category and the following rules: Name and Postcode both exactly match, or URN or Email exactly match and also Name approx and Postcode exact. Backtrace is below. Any ideas what could be causing this error? Thanks.

We have a similar error to this post, but with Joomla 5.9.2 and CiviCRM 5.12.0. Error happens when trying to merge two contacts using Organisarion Rules Category and the following rules: Name and Postcode both exactly match, or URN or Email exactly match and also Name approx and Postcode exact. Backtrace is below. Any ideas what could be causing this error? Thanks.

Source Link
Jern
  • 1.3k
  • 8
  • 12
Loading