Jhonnii mV Posted December 23, 2017 Share Posted December 23, 2017 Hola comunidad de Prestashop, soy nuevo en esto de las tiendas. Me decanté por PrestaShop por que es muy personalizable y además amigable con el usuario, pero me he visto envuelto en una cantidad de errores, debido a las diferentes versiones que hay y los templates hay que pulirlos en cada version. Mi error es el siguiente, eso sucede cuando habilito el DebugMode, para ver errores ciertamente, pero la cuestion es que no deja abrir la tienda con ese modo, me muestra el siguiente error: // De antemano, muchas gracias. ContextErrorException in smarty_internal_templatebase.php(157) : eval()'d code line 97: Notice: Undefined index: type in smarty_internal_templatebase.php(157) : eval()'d code line 97 at ErrorHandler->handleError('8', 'Undefined index: type', '/home/pclife/public_html/vendor/prestashop/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code', '97', array('_smarty_tpl' => object(Smarty_Dev_Template), '_from' => array(array('id_column' => '1', 'id_row' => '1', 'id_shop' => '1', 'width' => 'col-sm-6', 'class' => null, 'position' => '0', 'active' => '1', 'list_menu_item' => array(array('id_item' => '1', 'id_column' => '1', 'id_shop' => '1', 'type_link' => '1', 'type_item' => '1', 'id_product' => '0', 'position' => '0', 'active' => '1', 'id_lang' => '1', 'title' => 'Dresses', 'link' => 'http://pclife.co/en/8-dresses', 'text' => null), array('id_item' => '2', 'id_column' => '1', 'id_shop' => '1', 'type_link' => '1', 'type_item' => '2', 'id_product' => '0', 'position' => '0', 'active' => '1', 'id_lang' => '1', 'title' => 'T-shirts', 'link' => 'http://pclife.co/en/5-tshirts', 'text' => null), array('id_item' => '3', 'id_column' => '1', 'id_shop' => '1', 'type_link' => '1', 'type_item' => '2', 'id_product' => '0', 'position' => '0', 'active' => '1', 'id_lang' => '1', 'title' => 'Casual Dresses', 'link' => 'http://pclife.co/en/9-casual-dresses', 'text' => null), array('id_item' => '4', 'id_column' => '1', 'id_shop' => '1', 'type_link' => '1', 'type_item' => '2', 'id_product' => '0', 'position' => '0', 'active' => '1', 'id_lang' => '1', 'title' => 'Evening Dresses', 'link' => 'http://pclife.co/en/10-evening-dresses', 'text' => null), array('id_item' => '5', 'id_column' => '1', 'id_shop' => '1', 'type_link' => '1', 'type_item' => '2', 'id_product' => '0', 'position' => '0', 'active' => '1', 'id_lang' => '1', 'title' => 'Women', 'link' => 'http://pclife.co/en/3-women', 'text' => null), array('id_item' => '6', 'id_column' => '1', 'id_shop' => '1', 'type_link' => '1', 'type_item' => '2', 'id_product' => '0', 'position' => '0', 'active' => '1', 'id_lang' => '1', 'title' => 'Blouses', 'link' => 'http://pclife.co/en/7-blouses', 'text' => null))), array('id_column' => '2', 'id_row' => '1', 'id_shop' => '1', 'width' => 'col-sm-6', 'class' => null, 'position' => '0', 'active' => '1', 'list_menu_item' => array(array('id_item' => '9', 'id_column' => '2', 'id_shop' => '1', 'type_link' => '1', 'type_item' => '1', 'id_product' => '0', 'position' => '0', 'active' => '1', 'id_lang' => '1', 'title' => 'Summer Dresses', 'link' => 'http://pclife.co/en/11-summer-dresses', 'text' => null), array('id_item' => '10', 'id_column' => '2', 'id_shop' => '1', 'type_link' => '1', 'type_item' => '2', 'id_product' => '0', 'position' => '0', 'active' => '1', 'id_lang' => '1', 'title' => 'Casual Dresses', 'link' => 'http://pclife.co/en/9-casual-dresses', 'text' => null), array('id_item' => '11', 'id_column' => '2', 'id_shop' => '1', 'type_link' => '1', 'type_item' => '2', 'id_product' => '0', 'position' => '0', 'active' => '1', 'id_lang' => '1', 'title' => 'Women', 'link' => 'http://pclife.co/en/3-women', 'text' => null), array('id_item' => '12', 'id_column' => '2', 'id_shop' => '1', 'type_link' => '1', 'type_item' => '2', 'id_product' => '0', 'position' => '0', 'active' => '1', 'id_lang' => '1', 'title' => 'Tops', 'link' => 'http://pclife.co/en/4-tops', 'text' => null), array('id_item' => '13', 'id_column' => '2', 'id_shop' => '1', 'type_link' => '1', 'type_item' => '2', 'id_product' => '0', 'position' => '0', 'active' => '1', 'id_lang' => '1', 'title' => 'Casual Dresses', 'link' => 'http://pclife.co/en/9-casual-dresses', 'text' => null), array('id_item' => '14', 'id_column' => '2', 'id_shop' => '1', 'type_link' => '1', 'type_item' => '2', 'id_product' => '0', 'position' => '0', 'active' => '1', 'id_lang' => '1', 'title' => 'Blouses', 'link' => 'http://pclife.co/en/7-blouses', 'text' => null)))))) in smarty_internal_templatebase.php(157) : eval()'d code line 97 at content_5a3ee647cce467_00270427(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 2279 at ModuleCore->fetch('module:labvegamenu/views/templates/hook/labvegamenu.tpl', 'labvegamenu|1|1|1|1|2|17') in labvegamenu.php line 1240 at LabVegamenu->renderWidget('displayVegamenuMobile', array('smarty' => object(Smarty_Dev_Template), 'cookie' => object(Cookie), 'cart' => object(Cart))) in Hook.php line 896 at HookCore::coreRenderWidget(object(LabVegamenu), 'displayVegamenuMobile', array('smarty' => object(Smarty_Dev_Template), 'cookie' => object(Cookie), 'cart' => object(Cart))) in Hook.php line 857 at HookCore::exec('displayVegamenuMobile', array('smarty' => object(Smarty_Dev_Template)), null) in smarty.config.inc.php line 168 at smartyHook(array('h' => 'displayVegamenuMobile'), object(Smarty_Dev_Template)) at call_user_func_array('smartyHook', array(array('h' => 'displayVegamenuMobile'), object(Smarty_Dev_Template))) in SmartyLazyRegister.php line 83 at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayVegamenuMobile'), object(Smarty_Dev_Template))) in smarty_internal_templatebase.php(157) : eval()'d code line 539 at SmartyLazyRegister->smartyHook(array('h' => 'displayVegamenuMobile'), object(Smarty_Dev_Template)) in smarty_internal_templatebase.php(157) : eval()'d code line 539 at content_5a3ee6472ba0e9_77449980(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php(157) : eval()'d code line 148 at content_5a3ee6474824f8_79753819(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188 at Smarty_Internal_TemplateBase->fetch('index.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false) in SmartyDev.php line 41 at SmartyDev->fetch('index.tpl', null, 'layouts/layout-full-width.tpl') in FrontController.php line 660 at FrontControllerCore->smartyOutputContent('index.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 Link to comment Share on other sites More sharing options...
pepinca Posted December 24, 2017 Share Posted December 24, 2017 Instalaste algún módulo de menú? Desactiva la caché y limpiar. Te sigue saliendo? Link to comment Share on other sites More sharing options...
Jhonnii mV Posted December 25, 2017 Author Share Posted December 25, 2017 He desactivado los modulos que no son de prestashop, limpié la caché y sigue apareciendo solo cuando activo el Debug Mode. 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