Грешка:
"PHP Fatal error: Redefinition of parameter $id_shop in /var/www/modules/spverticalmenu/Verticalmenu.php on line 655"
Решение:
Стар код:
protected function getCMSPages($id_cms_category, $id_shop = false, $id_lang = false, $id_shop = false)
{
$id_shop = ($id_shop !== false) ? (int)$id_shop : (int)Context::getContext()->shop->id;
$id_lang = $id_lang ? (int)$id_lang : (int)Context::getContext()->language->id;
Нов код:
public function getCMSPages($id_cms_category, $id_shop = false, $id_lang = false, $id_shop2 = false, $is_list = false)
{
$id_shop = ($id_shop !== false) ? (int)$id_shop : (int)Context::getContext()->shop->id;
$id_shop = ($id_shop2 !== false) ? (int)$id_shop2 : (int)Context::getContext()->shop->id;
Грешка:
"PHP Fatal error: Uncaught Error: Call to undefined function mcrypt_encrypt() in /var/www/classes/Rijndael.php:50"
Решение:
UPDATE `ps_configuration` SET `value` = '0' WHERE `name` = 'PS_CIPHER_ALGORITHM';