Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

PS 8.1.2 - PHP 8.1 - ErrorException in classes/helper/HelperForm.php (line 120) #22

Open
jfranjic opened this issue Dec 31, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@jfranjic
Copy link

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

@jfranjic jfranjic added the bug Something isn't working label Dec 31, 2023
@jfranjic
Copy link
Author

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"

@jarnold1281974
Copy link

I am having the same issue on an almost clean installation.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants