Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-8442

traceback when adding new individual via case form with group double opt in turned on

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.1
    • Fix Version/s: 3.4.4
    • Component/s: None
    • Labels:
      None

      Description

      We're getting the traceback below under these conditions:

      • CIVICRM_PROFILE_ADD_TO_GROUP_DOUBLE_OPTIN is not defined in civicrm.settings.php (which seems to result in $config->profileAddToGroupDoubleOptIn being set to true).
      • Add a new Individual via the Case intake form
      • Do not enter an email address

      CiviCRM seems to try to lookup an email that doesn't exist when subscribing the new user to a group and then chokes.

      The easy work-around is to define CIVICRM_PROFILE_ADD_TO_GROUP_DOUBLE_OPTIN to 0/false in civicrm.settings.php.

      var/aegir/platforms/rossi-ourpowerbase-6.20-3.4.1/sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 291
      /var/aegir/platforms/rossi-ourpowerbase-6.20-3.4.1/sites/all/modules/civicrm/CRM/Mailing/Event/BAO/Subscribe.php, fatal, 147
      /var/aegir/platforms/rossi-ourpowerbase-6.20-3.4.1/sites/all/modules/civicrm/CRM/Mailing/Event/BAO/Subscribe.php, subscribe, 361
      /var/aegir/platforms/rossi-ourpowerbase-6.20-3.4.1/sites/all/modules/civicrm/CRM/Profile/Form.php, commonSubscribe, 883
      /var/aegir/platforms/rossi-ourpowerbase-6.20-3.4.1/sites/all/modules/civicrm/CRM/Profile/Form/Edit.php, postProcess, 242
      /var/aegir/platforms/rossi-ourpowerbase-6.20-3.4.1/sites/all/modules/civicrm/CRM/Core/Form.php, postProcess, 250
      /var/aegir/platforms/rossi-ourpowerbase-6.20-3.4.1/sites/all/modules/civicrm/CRM/Core/StateMachine.php, mainProcess, 167
      /var/aegir/platforms/rossi-ourpowerbase-6.20-3.4.1/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Next.php, perform, 64
      /var/aegir/platforms/rossi-ourpowerbase-6.20-3.4.1/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php, perform, 203
      /var/aegir/platforms/rossi-ourpowerbase-6.20-3.4.1/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php, handle, 103
      /var/aegir/platforms/rossi-ourpowerbase-6.20-3.4.1/sites/all/modules/civicrm/CRM/Core/Controller.php, handle, 284
      /var/aegir/platforms/rossi-ourpowerbase-6.20-3.4.1/sites/all/modules/civicrm/CRM/Utils/Wrapper.php, run, 115
      /var/aegir/platforms/rossi-ourpowerbase-6.20-3.4.1/sites/all/modules/civicrm/CRM/Core/Invoke.php, run, 341
      , profile,
      /var/aegir/platforms/rossi-ourpowerbase-6.20-3.4.1/sites/all/modules/civicrm/CRM/Core/Invoke.php, call_user_func, 190
      /var/aegir/platforms/rossi-ourpowerbase-6.20-3.4.1/sites/all/modules/civicrm/drupal/civicrm.module, invoke, 363
      , civicrm_invoke,
      /var/aegir/platforms/rossi-ourpowerbase-6.20-3.4.1/includes/menu.inc, call_user_func_array, 348
      /var/aegir/platforms/rossi-ourpowerbase-6.20-3.4.1/index.php, menu_execute_active_handler, 18

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              jamie Jamie McClelland
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: