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

Errors on contribution edit page if certain address types are disabled

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Incomplete
    • Affects Version/s: 4.2.1
    • Fix Version/s: Unscheduled
    • Component/s: CiviContribute
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      I had disabled the "Main Office Location" location type. When creating a new contribution, I'd get several identical errors at the top of the page saying:

      Notice: Undefined index: 3 in CRM_Core_BAO_UFGroup::getFields() (line 416 of /home/fenix/sites/projects/rsc/src/www/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).

      3 being the index of the "Main" location type which I had disabled. Re-enabling the location causes the errors to disappear.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jmking James
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: