Open atmansviluppo opened 2 years ago
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
: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.
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
:https://github.com/sakgiok/codwfeeplus/blob/bf1b1068e161ccfe7e96166f1c6de635eedd6556/codwfeeplus/controllers/admin/AdminCODwFeePlusController.php#L1287-L1299
It should be:
All switch input in the form need to be fixed.
Thank you!