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

Notice: Undefined property: CRM_Core_Config::$defaultContactStateProvince in CRM_Contribute_Form_Contribution->setDefaultValues() (line 504 of CRM/Contribute/Form/Contribution.php)

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.19
    • Fix Version/s: 4.6
    • Component/s: CiviContribute
    • Labels:
      None
    • Documentation Required?:
      None

      Description

      When I attempt to make a contribution at:
      http://example.com/civicrm/contact/view/contribution?reset=1&action=add&cid=34&context=contribution&mode=live

      I receive the following error on every page in the process:
      ========
      Notice: Undefined property: CRM_Core_Config::$defaultContactStateProvince in CRM_Contribute_Form_Contribution->setDefaultValues() (line 504 of CRM/Contribute/Form/Contribution.php)
      ========

      Line in Question:
      https://github.com/CiviCRM42/civicrm42-core/blob/4.2/CRM/Contribute/Form/Contribution.php#L504

      I'm using CiviCRM 4.2 on PHP 5.5

      I discovered that defaultContactStateProvince is not a property on CRM_Core_Config.

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              davidbarratt David Barratt
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: