Advertisement
andyburns

Opt-in communication fields import error

Sep 9th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.70 KB | None | 0 0
  1. Exception: "Could not update contact with privacy options in optinfields_civicrm_custom, contact your system administrator. Error from API Contact create: Found more than one Organisation with same Name."
  2.  
  3. #0 /.../.../.../www/wp-includes/class-wp-hook.php(286): optinfields_civicrm_custom("create", "37", "20", (Array:1))
  4. #1 /.../.../.../www/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters("", (Array:4))
  5. #2 /.../.../.../www/wp-includes/plugin.php(515): WP_Hook->do_action((Array:4))
  6. #3 /.../.../.../www/wp-content/plugins/civicrm/civicrm/CRM/Utils/Hook/WordPress.php(124): do_action_ref_array("civicrm_custom", (Array:4))
  7. #4 /.../.../.../www/wp-content/plugins/civicrm/civicrm/Civi/Core/CiviEventDispatcher.php(98): CRM_Utils_Hook_WordPress->invokeViaUF(4, "create", "37", "20", (Array:1), NULL, NULL, "civicrm_custom")
  8. #5 [internal function](): Civi\Core\CiviEventDispatcher::delegateToUF(Object(Civi\Core\Event\GenericHookEvent), "hook_civicrm_custom", Object(Civi\Core\CiviEventDispatcher))
  9. #6 /.../.../.../www/wp-content/plugins/civicrm/civicrm/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php(164): call_user_func((Array:2), Object(Civi\Core\Event\GenericHookEvent), "hook_civicrm_custom", Object(Civi\Core\CiviEventDispatcher))
  10. #7 /.../.../.../www/wp-content/plugins/civicrm/civicrm/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php(53): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch((Array:1), "hook_civicrm_custom", Object(Civi\Core\Event\GenericHookEvent))
  11. #8 /.../.../.../www/wp-content/plugins/civicrm/civicrm/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php(167): Symfony\Component\EventDispatcher\EventDispatcher->dispatch("hook_civicrm_custom", Object(Civi\Core\Event\GenericHookEvent))
  12. #9 /.../.../.../www/wp-content/plugins/civicrm/civicrm/Civi/Core/CiviEventDispatcher.php(47): Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch("hook_civicrm_custom", Object(Civi\Core\Event\GenericHookEvent))
  13. #10 /.../.../.../www/wp-content/plugins/civicrm/civicrm/CRM/Utils/Hook.php(164): Civi\Core\CiviEventDispatcher->dispatch("hook_civicrm_custom", Object(Civi\Core\Event\GenericHookEvent))
  14. #11 /.../.../.../www/wp-content/plugins/civicrm/civicrm/CRM/Utils/Hook.php(486): CRM_Utils_Hook->invoke((Array:4), "create", "37", "20", (Array:1), NULL, NULL, "civicrm_custom")
  15. #12 /.../.../.../www/wp-content/plugins/civicrm/civicrm/CRM/Core/BAO/CustomValueTable.php(273): CRM_Utils_Hook::custom("create", "37", "20", (Array:1))
  16. #13 /.../.../.../www/wp-content/plugins/civicrm/civicrm/CRM/Core/BAO/CustomValueTable.php(380): CRM_Core_BAO_CustomValueTable::create((Array:1))
  17. #14 /.../.../.../www/wp-content/plugins/civicrm/civicrm/CRM/Contact/BAO/Contact.php(407): CRM_Core_BAO_CustomValueTable::store((Array:1), "civicrm_contact", "20")
  18. #15 /.../.../.../www/wp-content/plugins/civicrm/civicrm/CRM/Contact/BAO/Contact.php(2010): CRM_Contact_BAO_Contact::create((Array:13))
  19. #16 /.../.../.../www/wp-content/plugins/civicrm/civicrm/CRM/Contact/Import/Parser/Contact.php(1750): CRM_Contact_BAO_Contact::createProfileContact((Array:6), (Array:35), "20", NULL, NULL, "Individual")
  20. #17 /.../.../.../www/wp-content/plugins/civicrm/civicrm/CRM/Contact/Import/Parser/Contact.php(725): CRM_Contact_Import_Parser_Contact->createContact((Array:6), (Array:35), "4", "20", TRUE, "14")
  21. #18 /.../.../.../www/wp-content/plugins/civicrm/civicrm/CRM/Contact/Import/Parser.php(206): CRM_Contact_Import_Parser_Contact->import("4", (Array:8), NULL)
  22. #19 /.../.../.../www/wp-content/plugins/civicrm/civicrm/CRM/Contact/Import/ImportJob.php(249): CRM_Contact_Import_Parser->run("civicrm_import_job_ceb45b299a142778ace7807284095062", (Array:5), 8, 1, "_id", "_status", "4", "f437696a0add147a3512a945d6177d49", 231, NULL, 30, NULL, "14")
  23. #20 /.../.../.../www/wp-content/plugins/civicrm/civicrm/CRM/Contact/Import/Form/Preview.php(298): CRM_Contact_Import_ImportJob->runImport(Object(CRM_Contact_Import_Form_Preview))
  24. #21 /.../.../.../www/wp-content/plugins/civicrm/civicrm/CRM/Core/Form.php(489): CRM_Contact_Import_Form_Preview->postProcess()
  25. #22 /.../.../.../www/wp-content/plugins/civicrm/civicrm/CRM/Core/StateMachine.php(160): CRM_Core_Form->mainProcess()
  26. #23 /.../.../.../www/wp-content/plugins/civicrm/civicrm/CRM/Core/QuickForm/Action/Next.php(61): CRM_Core_StateMachine->perform(Object(CRM_Contact_Import_Form_Preview), "next", "Next")
  27. #24 /.../.../.../www/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Next->perform(Object(CRM_Contact_Import_Form_Preview), "next")
  28. #25 /.../.../.../www/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Contact_Import_Form_Preview), "next")
  29. #26 /.../.../.../www/wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php(351): HTML_QuickForm_Page->handle("next")
  30. #27 /.../.../.../www/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(309): CRM_Core_Controller->run((Array:3), NULL)
  31. #28 /.../.../.../www/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(84): CRM_Core_Invoke::runItem((Array:13))
  32. #29 /.../.../.../www/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:3))
  33. #30 /.../.../.../www/wp-content/plugins/civicrm/civicrm.php(1246): CRM_Core_Invoke::invoke((Array:3))
  34. #31 /.../.../.../www/wp-includes/class-wp-hook.php(286): CiviCRM_For_WordPress->invoke("")
  35. #32 /.../.../.../www/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters("", (Array:1))
  36. #33 /.../.../.../www/wp-includes/plugin.php(453): WP_Hook->do_action((Array:1))
  37. #34 /.../.../.../www/wp-admin/admin.php(224): do_action("toplevel_page_CiviCRM")
  38. #35 {main}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement