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

regen.sh throws error while adding financial items

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.20
    • Fix Version/s: 4.7.24
    • Component/s: None
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      Executing regen.sh gives error -

      Warning: Missing argument 1 for CRM_Financial_BAO_FinancialTypeAccount::getInstrumentFinancialAccount(), called in /Users/jitendra/src/civicrm/sql/GenerateData.php on line 1846 and defined in /Users/jitendra/src/civicrm/CRM/Financial/BAO/FinancialTypeAccount.php on line 156

      Notice: Undefined variable: paymentInstrumentValue in /Users/jitendra/src/civicrm/CRM/Financial/BAO/FinancialTypeAccount.php on line 159

      Fatal error: Uncaught CiviCRM_API3_Exception: [undefined: Expected one OptionValue but found 5

        thrown in /Users/jitendra/src/civicrm/api/api.php on line 45

        Attachments

          Activity

            People

            • Assignee:
              jitendra.purohit Jitendra Purohit
              Reporter:
              jitendra.purohit Jitendra Purohit
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: