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) »
  • Non Recoverable Error When Updating Contact
Pages: [1]

Author Topic: Non Recoverable Error When Updating Contact  (Read 1113 times)

cdoctor

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
Non Recoverable Error When Updating Contact
January 02, 2012, 05:06:23 pm
There is one contact in our database which we have found always provides us with a non recoverable error when attempting to update their information.  After clicking save, here is what occurs:

Sorry. A non-recoverable error has occurred.
We experienced an unexpected error. Please post a detailed description and the backtrace

backTrace

/var/www/html/dcrm/sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 296
/var/www/html/dcrm/sites/all/modules/civicrm/CRM/Core/DAO.php, fatal, 720
/var/www/html/dcrm/sites/all/modules/civicrm/CRM/Contact/BAO/Contact.php, getFieldValue, 944
/var/www/html/dcrm/sites/all/modules/civicrm/CRM/Contact/BAO/Relationship.php, getContactType, 545
/var/www/html/dcrm/sites/all/modules/civicrm/CRM/Contact/BAO/Relationship.php, checkRelationshipType, 584
/var/www/html/dcrm/sites/all/modules/civicrm/CRM/Contact/BAO/Relationship.php, checkValidRelationship, 84
/var/www/html/dcrm/sites/all/modules/civicrm/CRM/Core/BAO/Address.php, create, 1039
/var/www/html/dcrm/sites/all/modules/civicrm/CRM/Core/BAO/Address.php, processSharedAddressRelationship, 191
/var/www/html/dcrm/sites/all/modules/civicrm/CRM/Core/BAO/Address.php, add, 126
/var/www/html/dcrm/sites/all/modules/civicrm/CRM/Core/BAO/Location.php, create, 77
/var/www/html/dcrm/sites/all/modules/civicrm/CRM/Contact/BAO/Contact.php, create, 310
/var/www/html/dcrm/sites/all/modules/civicrm/CRM/Contact/Form/Contact.php, create, 918
/var/www/html/dcrm/sites/all/modules/civicrm/CRM/Core/Form.php, postProcess, 250
/var/www/html/dcrm/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Upload.php, mainProcess, 153
/var/www/html/dcrm/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Upload.php, realPerform, 130
/var/www/html/dcrm/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php, perform, 203
/var/www/html/dcrm/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php, handle, 103
/var/www/html/dcrm/sites/all/modules/civicrm/CRM/Core/Controller.php, handle, 284
/var/www/html/dcrm/sites/all/modules/civicrm/CRM/Utils/Wrapper.php, run, 115
/var/www/html/dcrm/sites/all/modules/civicrm/CRM/Core/Invoke.php, run, 196
/var/www/html/dovillacrm/sites/all/modules/civicrm/drupal/civicrm.module, invoke, 447
, civicrm_invoke, dcrm/var/www/html/dcrm/includes/menu.inc, call_user_func_array, 503
/var/www/html/dcrm/index.php, menu_execute_active_handler, 21

Site Information:
Drupal - 7.10
PHP - 5.3.8
CiviCRM - 4.0.8

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Non Recoverable Error When Updating Contact
January 02, 2012, 05:23:43 pm

Seems like that contact has a bad relationship to a contact which does not have a contact type. You might want to check the DB and trace which is the offending contact

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

cdoctor

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
Re: Non Recoverable Error When Updating Contact
January 02, 2012, 06:51:17 pm
Lobo -

I traced the record in the DB, and there was only one relationship (Employer) which that contact had.  The employer was shared by three other contacts and all of those worked successfully.  Resetting the relationship did not work, so I ended up deleting that record and recreating it.

Thanks for the help.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Non Recoverable Error When Updating Contact

This forum was archived on 2017-11-26.