We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug After the fresh install went ok, first thing i click is on module to configure i get
Warning: Undefined array key "id" ErrorException in classes/helper/HelperForm.php (line 120) $switch_values = $params['values']; if (!empty($params['values'])) { foreach ($switch_values as $k => $value) { if (!isset($value['label'])) { $default_key = (int) $value['value'] ? 1 : 0; $defautl_label = $default_switch_labels[$value['id']] ?? $default_switch_values[$default_key]['label']; $this->fields_form[$fieldset_key]['form']['input'][$key]['values'][$k]['label'] = $defautl_label; } } } else { $this->fields_form[$fieldset_key]['form']['input'][$key]['values'] = $default_switch_values;
Prestashop version(s) Fresh install of PS 8.1.2
Screenshots
The text was updated successfully, but these errors were encountered:
Now i see that problem is still when you are in debug mode. like this one "Can't access Config Page while in Debug Mode"
Sorry, something went wrong.
I am having the same issue on an almost clean installation.
No branches or pull requests
Describe the bug
After the fresh install went ok, first thing i click is on module to configure i get
Warning: Undefined array key "id"
ErrorException
in classes/helper/HelperForm.php (line 120)
$switch_values = $params['values']; if (!empty($params['values'])) { foreach ($switch_values as $k => $value) { if (!isset($value['label'])) { $default_key = (int) $value['value'] ? 1 : 0; $defautl_label = $default_switch_labels[$value['id']] ?? $default_switch_values[$default_key]['label']; $this->fields_form[$fieldset_key]['form']['input'][$key]['values'][$k]['label'] = $defautl_label; } } } else { $this->fields_form[$fieldset_key]['form']['input'][$key]['values'] = $default_switch_values;
Prestashop version(s)
Fresh install of PS 8.1.2
Screenshots
![codfee](https://private-user-images.githubusercontent.com/20975574/293511951-76b11274-f593-4ca8-a807-e2da24e0ef34.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwODgxNzMsIm5iZiI6MTcyNjA4Nzg3MywicGF0aCI6Ii8yMDk3NTU3NC8yOTM1MTE5NTEtNzZiMTEyNzQtZjU5My00Y2E4LWE4MDctZTJkYTI0ZTBlZjM0LmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTExVDIwNTExM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkyMDJhOWEyYzc5NDE3MDBkM2M5ZjFlZmQxN2Y2NjA0MmFhNjlhNWEwYzRlNzZkYWQyZjhlYzViNjU5OTNmMzgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Ddauj1b2MrCbVysjJamw8hpF4_5PazyK9blOQ4kDsic)
The text was updated successfully, but these errors were encountered: