CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Bunch of error message when merging two contacts, but it worked
Pages: [1]

Author Topic: Bunch of error message when merging two contacts, but it worked  (Read 1464 times)

SemperFi

  • I post frequently
  • ***
  • Posts: 177
  • Karma: 3
  • CiviCRM version: 4.5.4
  • CMS version: Wordpress 4.0.1
  • MySQL version: MySQL 5.5.16
  • PHP version: PHP 5.3.17
Bunch of error message when merging two contacts, but it worked
June 12, 2011, 03:40:40 am
Hi

I wanted to merge two contacts file for a same person. I searched the name of this individual and select the two records found, an then click on "merge contacts".

I first got this message "Notice: Undefined offset: 1 in CRM_Contact_Form_Merge->preProcess() (line 324 of /xxx/sites/all/modules/civicrm/CRM/Contact/Form/Merge.php).". But I had access to the merger options.

After flipping between original and duplicate contacts, this notice message disappeared. I configured the merger and clicked on "Merge"

Then I got a bunch of messages when I merged two contacts, but ...

Notice: Undefined index: name in CRM_Core_DAO->table() (line 263 of /xxx/sites/all/modules/civicrm/CRM/Core/DAO.php). appeared 12 times
Notice: Undefined index: name in CRM_Core_DAO->copyValues() (line 328 of /xxx/sites/all/modules/civicrm/CRM/Core/DAO.php). appeared 6 times below the first one
Notice: Undefined index: name in CRM_Core_DAO->table() (line 263 of /xxx/sites/all/modules/civicrm/CRM/Core/DAO.php). appeared 24 tiles after the second one
Notice: Undefined index: name in CRM_Core_DAO::storeValues() (line 367 of /xxx/sites/all/modules/civicrm/CRM/Core/DAO.php). appeared 6 times after the third one.

... after all these error messages lines I got "The contacts have been merged." and it effectively worked.

Any idea ?
Tks
« Last Edit: June 12, 2011, 03:46:35 am by SemperFi »

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Bunch of error message when merging two contacts, but it worked
June 12, 2011, 02:30:28 pm
This link tells you how to get php to be quieter in Drupal 7

http://www.citytree.be/blog/undefined-index-quick-fix-in-drupal7-error-reporting

These errors should be ignored
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

SemperFi

  • I post frequently
  • ***
  • Posts: 177
  • Karma: 3
  • CiviCRM version: 4.5.4
  • CMS version: Wordpress 4.0.1
  • MySQL version: MySQL 5.5.16
  • PHP version: PHP 5.3.17
Re: Bunch of error message when merging two contacts, but it worked
June 13, 2011, 12:57:25 am
Thanks for the response.

I add the line
Code: [Select]
ini_set('error_reporting', 'E_ALL ^ E_NOTICE');  in xxx\sites\default\settings.php but I still get these notice messages :

Notice: Undefined index: type in CRM_Contact_Form_Merge->preProcess() (line 255 of /xxx/sites/all/modules/civicrm/CRM/Contact/Form/Merge.php). * 10 times
Notice: Undefined index: type in CRM_Contact_Form_Merge->preProcess() (line 262 of /xxx/sites/all/modules/civicrm/CRM/Contact/Form/Merge.php). *10 times
Notice: Undefined offset: 2 in CRM_Contact_Form_Merge->preProcess() (line 324 of /xxx/sites/all/modules/civicrm/CRM/Contact/Form/Merge.php).
Notice: Undefined offset: 1 in CRM_Contact_Form_Merge->preProcess() (line 324 of /xxx/sites/all/modules/civicrm/CRM/Contact/Form/Merge.php).*2 times

Thanks

matthewboh

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 2
Re: Bunch of error message when merging two contacts, but it worked
July 16, 2011, 08:13:27 am
I just went into the Drupal Configuration menu under Development | Logging and Errors and set the Error messages to display to None - worked like a charm

SemperFi

  • I post frequently
  • ***
  • Posts: 177
  • Karma: 3
  • CiviCRM version: 4.5.4
  • CMS version: Wordpress 4.0.1
  • MySQL version: MySQL 5.5.16
  • PHP version: PHP 5.3.17
Re: Bunch of error message when merging two contacts, but it worked
July 19, 2011, 11:14:56 am
Thank you ! It worked great.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Bunch of error message when merging two contacts, but it worked

This forum was archived on 2017-11-26.