Автор Тема: Ошибка при входе в корзину  (Прочитано 283 раз)

13 Январь 2021, 12:27:57
  • Новичок
  • *
  • Сообщений: 3
  • Репутация: +0/-0
  • Сообщество PrestaShop
    • Просмотр профиля
Всем добрый день.
помогите, пожалуйста, разобраться
Заказы в корзине отображаются, при переходе в саму корзину возникает вот такая ошибка

ContextErrorException in smarty_internal_templatebase.php(157) : eval()'d code line 33:
Notice: Undefined index: block
in smarty_internal_templatebase.php(157) : eval()'d code line 33
at ErrorHandler->handleError('8', 'Undefined index: block', '/home/g/geliytb7/geliytorg.ru/public_html/vendor/prestashop/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code', '33', array('_smarty_tpl' => object(Smarty_Dev_Template))) in smarty_internal_templatebase.php(157) : eval()'d code line 33
at content_5ffebb2a627579_95123493(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188
at Smarty_Internal_TemplateBase->fetch(null, null, null, null, false, true, false) in SmartyDev.php line 60
at Smarty_Dev_Template->fetch() in Module.php line 2241
at ModuleCore->display('/home/g/geliytb7/geliytorg.ru/public_html/modules/blockreassurance/blockreassurance.php', 'views/templates/hook/displayBlockProduct.tpl') in blockreassurance.php line 540
at blockreassurance->renderTemplateInHook('displayBlockProduct.tpl') in blockreassurance.php line 423
at blockreassurance->hookdisplayReassurance(array('smarty' => object(Smarty_Dev_Template), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '1')) in Hook.php line 895
at HookCore::coreCallHook(object(blockreassurance), 'hookdisplayReassurance', array('smarty' => object(Smarty_Dev_Template), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '1')) in Hook.php line 327
at HookCore::callHookOn(object(blockreassurance), 'displayReassurance', array('smarty' => object(Smarty_Dev_Template), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '1')) in Hook.php line 843
at HookCore::exec('displayReassurance', array('smarty' => object(Smarty_Dev_Template)), null) in smarty.config.inc.php line 168
at smartyHook(array('h' => 'displayReassurance'), object(Smarty_Dev_Template))
at call_user_func_array('smartyHook', array(array('h' => 'displayReassurance'), object(Smarty_Dev_Template))) in SmartyLazyRegister.php line 83
at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayReassurance'), object(Smarty_Dev_Template))) in smarty_internal_templatebase.php(157) : eval()'d code line 236
at SmartyLazyRegister->smartyHook(array('h' => 'displayReassurance'), object(Smarty_Dev_Template)) in smarty_internal_templatebase.php(157) : eval()'d code line 236
at content_5ffebb2a38dd97_32437410(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188
at Smarty_Internal_TemplateBase->fetch('checkout/cart.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false) in SmartyDev.php line 41
at SmartyDev->fetch('checkout/cart.tpl', null, 'layouts/layout-full-width.tpl') in FrontController.php line 660
at FrontControllerCore->smartyOutputContent('checkout/cart.tpl') in FrontController.php line 644
at FrontControllerCore->display() in Controller.php line 225
at ControllerCore->run() in Dispatcher.php line 369
at DispatcherCore->dispatch() in index.php line 28

Из-за чего могла возникнуть и как ее починить?
Буду очень благодарна за ответ
13 Январь 2021, 12:53:40
Ответ #1
  • Ветеран
  • *****
  • Сообщений: 16670
  • Репутация: +14630/-5
  • Сообщество PrestaShop
    • Просмотр профиля
Модуль blockreassurance удалите. В нем причина. Нсли он нужен, то можно отключить и проверить его на ошибки.