Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.7.1
-
Component/s: None
-
Labels:None
Description
To reproduce:
- Visit admin/settings/company/groups/edit/1/
- Uncheck the boxes to show phone and fax
- Create a standard order form using that client group
- As an unauthenticated user place an order using the order form
- Receive a 500 error on the signup page
Solution:
This should be resolved by updating plugins/order/controllers/signup.php around line 116 from
$client_info['numbers'] = $this->ArrayHelper->keyToNumeric($client_info['numbers']);
To
$client_info['numbers'] = $this->ArrayHelper->keyToNumeric($client_info['numbers'] ?? []);