Jump to content

ContextErrorException in smarty_internal_templatebase.php


Recommended Posts

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

  1. in smarty_internal_templatebase.php(157) : eval()'d code line 97
  2. 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
  3. at content_5a3ee647cce467_00270427(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188
  4. at Smarty_Internal_TemplateBase->fetch(null, null, null, null, false, true, false) in SmartyDev.php line 60
  5. at Smarty_Dev_Template->fetch() in Module.php line 2279
  6. at ModuleCore->fetch('module:labvegamenu/views/templates/hook/labvegamenu.tpl', 'labvegamenu|1|1|1|1|2|17') in labvegamenu.php line 1240
  7. at LabVegamenu->renderWidget('displayVegamenuMobile', array('smarty' => object(Smarty_Dev_Template), 'cookie' => object(Cookie), 'cart' => object(Cart))) in Hook.php line 896
  8. at HookCore::coreRenderWidget(object(LabVegamenu), 'displayVegamenuMobile', array('smarty' => object(Smarty_Dev_Template), 'cookie' => object(Cookie), 'cart' => object(Cart))) in Hook.php line 857
  9. at HookCore::exec('displayVegamenuMobile', array('smarty' => object(Smarty_Dev_Template)), null) in smarty.config.inc.php line 168
  10. at smartyHook(array('h' => 'displayVegamenuMobile'), object(Smarty_Dev_Template))
  11. at call_user_func_array('smartyHook', array(array('h' => 'displayVegamenuMobile'), object(Smarty_Dev_Template))) in SmartyLazyRegister.php line 83
  12. at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayVegamenuMobile'), object(Smarty_Dev_Template))) in smarty_internal_templatebase.php(157) : eval()'d code line 539
  13. at SmartyLazyRegister->smartyHook(array('h' => 'displayVegamenuMobile'), object(Smarty_Dev_Template)) in smarty_internal_templatebase.php(157) : eval()'d code line 539
  14. at content_5a3ee6472ba0e9_77449980(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php(157) : eval()'d code line 148
  15. at content_5a3ee6474824f8_79753819(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188
  16. at Smarty_Internal_TemplateBase->fetch('index.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false) in SmartyDev.php line 41
  17. at SmartyDev->fetch('index.tpl', null, 'layouts/layout-full-width.tpl') in FrontController.php line 660
  18. at FrontControllerCore->smartyOutputContent('index.tpl') in FrontController.php line 644
  19. at FrontControllerCore->display() in Controller.php line 225
  20. at ControllerCore->run() in Dispatcher.php line 369
  21. at DispatcherCore->dispatch() in index.php line 28
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...