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

Attempting to record ANY contribution throws a fatal error

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Blocker
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.5
    • Fix Version/s: 4.5
    • Component/s: CiviContribute, CiviPledge
    • Labels:
      None
    • Documentation Required?:
      None

      Description

          • This is a RECENT regression. ALL back-office contribution flows seem to be broken ***
            If you attempt to 'Add Contribution' for a contact who has an In Progress Pledge - you correctly get the Info pop-up: "Contact has a pending or overdue pledge ..."

      However, the contribution form doesn't load in the dialog, and a fatal error is thrown (screenshot attached, backtrace below).

      ---- Backtrace ----
      ["/Users/dgg/git/crm_v4.5/CRM/Utils/Type.php(342): CRM_Core_Error::fatal(\"One of parameters (value: ) is not of the type Integer\")","/Users/dgg/git/crm_v4.5/CRM/Core/DAO.php(1027): CRM_Utils_Type::validate(NULL, \"Integer\")","/Users/dgg/git/crm_v4.5/CRM/Core/DAO.php(946): CRM_Core_DAO::composeQuery(\"
      nSELECT civicrm_pledge_payment.id id,
      n scheduled_amount,
      n ...\", (Array:1), TRUE)","/Users/dgg/git/crm_v4.5/CRM/Pledge/BAO/PledgePayment.php(75): CRM_Core_DAO::executeQuery(\"
      nSELECT civicrm_pledge_payment.id id,
      n scheduled_amount,
      n ...\", (Array:1))","/Users/dgg/git/crm_v4.5/CRM/Contribute/Form/SoftCredit.php(112): CRM_Pledge_BAO_PledgePayment::getPledgePayments(NULL)","/Users/dgg/git/crm_v4.5/CRM/Contribute/Form/Contribution.php(873): CRM_Contribute_Form_SoftCredit::buildQuickForm(Object(CRM_Contribute_Form_Contribution))","/Users/dgg/git/crm_v4.5/CRM/Core/Form.php(428): CRM_Contribute_Form_Contribution->buildQuickForm()","/Users/dgg/git/crm_v4.5/CRM/Core/QuickForm/Action/Display.php(93): CRM_Core_Form->buildForm()","/Users/dgg/git/crm_v4.5/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Display->perform(Object(CRM_Contribute_Form_Contribution), \"display\")","/Users/dgg/git/crm_v4.5/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Contribute_Form_Contribution), \"display\")","/Users/dgg/git/crm_v4.5/CRM/Core/Controller.php(356): HTML_QuickForm_Page->handle(\"display\")","/Users/dgg/git/crm_v4.5/CRM/Contribute/Page/Tab.php(245): CRM_Core_Controller->run()","/Users/dgg/git/crm_v4.5/CRM/Contribute/Page/Tab.php(294): CRM_Contribute_Page_Tab->edit()","/Users/dgg/git/crm_v4.5/CRM/Core/Invoke.php(331): CRM_Contribute_Page_Tab->run((Array:4), NULL)","/Users/dgg/git/crm_v4.5/CRM/Core/Invoke.php(75): CRM_Core_Invoke::runItem((Array:13))","/Users/dgg/git/crm_v4.5/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:4))","/Users/dgg/git/crm_v4.5/drupal/civicrm.module(456): CRM_Core_Invoke::invoke((Array:4))","[internal function](): civicrm_invoke(\"contact\", \"view\", \"contribution\")","/Users/dgg/htdocs/drupal7/includes/menu.inc(517): call_user_func_array(\"civicrm_invoke\", (Array:3))","/Users/dgg/htdocs/drupal7/index.php(21): menu_execute_active_handler()"]

        Attachments

          Activity

            People

            • Assignee:
              jitendra.purohit Jitendra Purohit
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: