Details
-
Type: Bug
-
Status: Won't Do
-
Priority: Trivial
-
Resolution: Won't Do
-
Affects Version/s: 4.7.10
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Needs Funding
Description
Warning: array_keys() expects parameter 1 to be array, string given in CRM_Price_BAO_PriceSet::parsePriceSetValueIDsFromParams() (line 1709 of /var/www/order-api/sites/all/modules/civicrm/CRM/Price/BAO/PriceSet.php).
Warning: Invalid argument supplied for foreach() in CRM_Price_BAO_PriceSet::parsePriceSetValueIDsFromParams() (line 1709 of /var/www/order-api/sites/all/modules/civicrm/CRM/Price/BAO/PriceSet.php).
To replicate:
1. Create Price set having fields with text, radio, select and checkbox
2. Use the above created price set to register a event
3. Register participant with 'radio' and 'checkbox' option.
Regression due to PR:
https://github.com/civicrm/civicrm-core/pull/8528