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

Session with fee causes array_keys and end warnings

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.6
    • Fix Version/s: 4.4.0
    • Component/s: CiviEvent
    • Labels:
      None

      Description

      When using the Cart option of CiviEvent, having a sub event (session) with an amount, getting the following error:

      warning: array_keys() expects parameter 1 to be array, null given in .../sites/all/modules/civicrm/CRM/Event/Cart/Form/Checkout/Payment.php on line 240.
      warning: end() expects parameter 1 to be array, null given in .../sites/all/modules/civicrm/CRM/Event/Cart/Form/Checkout/Payment.php on line 240.

      I have duplicated the error in the Drupal 7 CiviCRM demo system.

        Attachments

          Activity

            People

            • Assignee:
              adamw Adam Wight
              Reporter:
              loganbear Logan Bear
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: