iown Posted December 30, 2016 Share Posted December 30, 2016 Hello When i click on a category link I get this error: ContextErrorException in smarty_internal_templatebase.php(157) : eval()'d code line 28: Notice: Undefined index: page_nameIt is not the menu I get the same error if I go to the url http://outdoorluxury.com.au/12-outdoor-furniture Any ideas please? Keith Link to comment Share on other sites More sharing options...
iown Posted December 30, 2016 Author Share Posted December 30, 2016 Complete error message in smarty_internal_templatebase.php(157) : eval()'d code line 28 at ErrorHandler->handleError('8', 'Undefined index: page_name', '/home/outdoor/public_html/vendor/prestashop/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code', '28', array('_smarty_tpl' => object(Smarty_Dev_Template))) in smarty_internal_templatebase.php(157) : eval()'d code line 28 at content_5866d893929710_23937065(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 2217 at ModuleCore->display('/home/outdoor/public_html/modules/jmscustomhtmlleft/jmscustomhtmlleft.php', 'jmscustomhtmlleft.tpl') in jmscustomhtmlleft.php line 210 at JmsCustomhtmlLeft->hookLeftColumn(array('smarty' => object(Smarty_Dev_Template), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '1')) in Hook.php line 758 at HookCore::coreCallHook(object(JmsCustomhtmlLeft), 'hookleftcolumn', array('smarty' => object(Smarty_Dev_Template), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '1')) in Hook.php line 725 at HookCore::exec('displayLeftColumn', array('smarty' => object(Smarty_Dev_Template)), null) in smarty.config.inc.php line 174 at smartyHook(array('h' => 'displayLeftColumn'), object(Smarty_Dev_Template)) at call_user_func_array('smartyHook', array(array('h' => 'displayLeftColumn'), object(Smarty_Dev_Template))) in SmartyLazyRegister.php line 83 at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayLeftColumn'), object(Smarty_Dev_Template))) in smarty_internal_templatebase.php(157) : eval()'d code line 218 at SmartyLazyRegister->smartyHook(array('h' => 'displayLeftColumn'), object(Smarty_Dev_Template)) in smarty_internal_templatebase.php(157) : eval()'d code line 218 at content_5866d89343f9b9_01102796(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188 at Smarty_Internal_TemplateBase->fetch('catalog/listing/category.tpl', null, 'layouts/layout-left-column.tpl', null, false, true, false) in SmartyDev.php line 41 at SmartyDev->fetch('catalog/listing/category.tpl', null, 'layouts/layout-left-column.tpl') in FrontController.php line 655 at FrontControllerCore->smartyOutputContent('catalog/listing/category.tpl') in FrontController.php line 639 at FrontControllerCore->display() in Controller.php line 221 at ControllerCore->run() in Dispatcher.php line 366 at DispatcherCore->dispatch() in index.php line 28 Link to comment Share on other sites More sharing options...
rocky Posted January 4, 2017 Share Posted January 4, 2017 It appears the module jmscustomhtmlleft is not compatible with PrestaShop v1.7. The Smarty variable $page_name no longer exists in PrestaShop v1.7. You could try to find that code in the module's TPL file and change it to $smarty.get.controller instead, but it's likely you'll encounter more errors. You should ask the module developer whether they have an updated version of the module for PrestaShop v1.7. 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