Sarah Pereira Posted December 17, 2020 Share Posted December 17, 2020 Hi, I have been changing my theme, but when I'd turn on the Debug and click on the cart this message appears: Whoops, looks like something went wrong. ContextErrorException in smarty_internal_templatebase.php(157) : eval()'d code line 33:Notice: Undefined index: block in /home/mercadod/public_html/vendor/prestashop/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code line 33 at ErrorHandler->handleError('8', 'Undefined index: block', '/home/mercadod/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_5fdb8bd1b68c22_39630497(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 2242 at ModuleCore->display('/home/mercadod/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 309 at SmartyLazyRegister->smartyHook(array('h' => 'displayReassurance'), object(Smarty_Dev_Template)) in smarty_internal_templatebase.php(157) : eval()'d code line 309 at content_5fdb8bd155ff81_75298475(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188 at Smarty_Internal_TemplateBase->fetch('checkout/cart-empty.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false) in SmartyDev.php line 41 at SmartyDev->fetch('checkout/cart-empty.tpl', null, 'layouts/layout-full-width.tpl') in FrontController.php line 671 at FrontControllerCore->smartyOutputContent('checkout/cart-empty.tpl') in FrontController.php line 655 at FrontControllerCore->display() in Controller.php line 225 at ControllerCore->run() in Dispatcher.php line 379 at DispatcherCore->dispatch() in index.php line 28 I just don't know how to fix it. Can you guys help me? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now