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
I updated prestashop to version 1.7.8.7 in my local environment and found the error bellow when opening the module setting page:
This happens because the values array of switch input does not have the key id:
values
id
codwfeeplus/codwfeeplus/controllers/admin/AdminCODwFeePlusController.php
Lines 1287 to 1299 in bf1b106
It should be:
'values' => array( array( 'id' => 'active_on', 'value' => 1, ), array( 'id' => 'active_off', 'value' => 0, ),
All switch input in the form need to be fixed.
Thank you!
The text was updated successfully, but these errors were encountered:
I updated prestashop to version 1.7.8.7 in my local environment and found the error bellow when opening the module setting page: This happens because the values array of switch input does not have the key id: codwfeeplus/codwfeeplus/controllers/admin/AdminCODwFeePlusController.php Lines 1287 to 1299 in bf1b106 array( 'type' => 'switch', 'label' => $this->l('Store orders'), 'name' => 'CODWFEEPLUS_KEEPTRANSACTIONS', 'is_bool' => true, 'values' => array( array( 'value' => 1, ), array( 'value' => 0, ), ), It should be: 'values' => array( array( 'id' => 'active_on', 'value' => 1, ), array( 'id' => 'active_off', 'value' => 0, ), All switch input in the form need to be fixed. Thank you!
FIxed, many thanks !!!
But have a new bug on file /modules/codwfeeplus/views/templates/admin/_configure/helpers/form/form.tpl.
Now put a new issue.
Sorry, something went wrong.
No branches or pull requests
I updated prestashop to version 1.7.8.7 in my local environment and found the error bellow when opening the module setting page:
This happens because the
values
array of switch input does not have the keyid
:codwfeeplus/codwfeeplus/controllers/admin/AdminCODwFeePlusController.php
Lines 1287 to 1299 in bf1b106
It should be:
All switch input in the form need to be fixed.
Thank you!
The text was updated successfully, but these errors were encountered: