Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 1.8
-
Fix Version/s: 1.8
-
Component/s: Core CiviCRM
-
Labels:None
Description
To duplicate this error, Navigate to: CiviCRM » Administer CiviCRM » Global Settings » Address Settings. Deselect "Country" in the Address Editing section. Save settings.
Any attempt to create or edit a contact results in this error message:
Array
(
[callback] => Array
(
[0] => CRM_Core_Error
[1] => handle
)
[code] => -3
[message] => QuickForm Error: nonexistent html element
[mode] => 16
[debug_info] => Element 'location[1][address][country_id]' does not exist in HTML_QuickForm::getElementValue()
[type] => HTML_QuickForm_Error
[user_info] => Element 'location[1][address][country_id]' does not exist in HTML_QuickForm::getElementValue()
[to_string] => [html_quickform_error: message="nonexistent html element" code=-3 mode=callback callback=CRM_Core_Error::handle prefix="QuickForm Error: " info="Element 'location[1][address][country_id]' does not exist in HTML_QuickForm::getElementValue()"]
)
Occured both on my install and recreated at demo.civicrm.org/drupal