Jump to content

Errore smarty sul footer


Recommended Posts

ciao, cliccando in basso nel footer, sia per i più venduti, nuovi ed offerte, mi compare il seguente errore (ps 1.7):

 

ContextErrorException in smarty_internal_templatebase.php(157) : eval()'d code line 277: Notice: Undefined index: category
  1. in smarty_internal_templatebase.php(157) : eval()'d code line 277
  2. at ErrorHandler->handleError('8', 'Undefined index: category', '/home/cialde/public_html/vendor/prestashop/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code', '277', array('_smarty_tpl' => object(Smarty_Dev_Template), '_tpl_stack' => array())) in smarty_internal_templatebase.php(157) : eval()'d code line 277
  3. at content_59b556822e3392_72938448(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188
  4. at Smarty_Internal_TemplateBase->fetch('catalog/listing/prices-drop.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false) in SmartyDev.php line 41
  5. at SmartyDev->fetch('catalog/listing/prices-drop.tpl', null, 'layouts/layout-full-width.tpl') in FrontController.php line 655
  6. at FrontControllerCore->smartyOutputContent('catalog/listing/prices-drop.tpl') in FrontController.php line 639
  7. at FrontControllerCore->display() in Controller.php line 221
  8. at ControllerCore->run() in Dispatcher.php line 366
  9. at DispatcherCore->dispatch() in index.php line 28

 

Al momento è in modalità debug perchè c'è un problema che non mi permette di accedere al pannello amministrativo se il debug è su off..... ma risolviamo un problema per volta :-P

 

la riga 277 è:

} else {

 

mentre la 157 è:

eval("?>" . $code);

 

Il file non è mai stato toccato.

 

Grazie per i suggerimenti.

 

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...