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

Error on adding a field to a profile used by a contribution page

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.8
    • Fix Version/s: 4.7.9
    • Component/s: CiviContribute
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Core Team Funds

      Description

      This error shows up in a red box on the contribution page (multiple times)

      Notice: Undefined index: is_required in CRM_Core_BAO_UFField::assignAddressField() (line 799 of /srv/buildkit/build/dmaster/sites/all/modules/civicrm/CRM/Core/BAO/UFField.php).

      To replicate, use a profile in a contribution. then add a field to the profile. The Create profile page is fine, it's just the contribute page that shows the error. I have replicated this on the Drupal demo

      This was not as important as I originally thought. It's a notice that can be hidden (in Drupal).

        Attachments

          Activity

            People

            • Assignee:
              yashodha Yashodha Chaku
              Reporter:
              sanjay-agh Sanjay Jain
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: