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
The text was updated successfully, but these errors were encountered: