uso zen cart 1.38 però ho serie difficoltà ad installare nuovi moduli di spedizione o pagamento. Se provo ad installare un nuovo modulo, nella pagina ricevo il seguente errore:
Warning: reset() expects parameter 1 to be array, null given in /var/customers/webs/superficie/++++++++/mia_cartella_admin/modules.php on line 278
Warning: Variable passed to each() is not an array or object in /var/customers/webs/superficie/++++++++++/mia_cartella_admin/modules.php on line 279
In quel file indicato in quella posizione c'è il seguente codice:
- Codice: Seleziona tutto
reset($mInfo->keys);
while (list($key, $value) = each($mInfo->keys)) {
$keys .= '<b>' . $value['title'] . '</b><br>' . $value['description'] . '<br>';
if ($value['set_function']) {
eval('$keys .= ' . $value['set_function'] . "'" . $value['value'] . "', '" . $key . "');");
} else {
$keys .= zen_draw_input_field('configuration[' . $key . ']', $value['value']);
}
$keys .= '<br><br>';
}
come mai? grazie mille