Jump to content

custom-news.tpl.php


Recommended Posts

Hello, 
I've this error with my prestashop : (I ve an error 500 if I m not in debug mode)

 

(1/1) ContextErrorException

Notice: Undefined index: news

in 1f14e976a5b26e4ea142bd7a5974714223f3fc64_2.file.custom-news.tpl.php line 61

at content_616f13b6ed7d96_23001956(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216

at Smarty_Internal_Template->render(false, 0)in smarty_internal_templatebase.php line 232

at Smarty_Internal_TemplateBase->_execute(object(SmartyDevTemplate), null, null, null, 0)in smarty_internal_templatebase.php line 116

at Smarty_Internal_TemplateBase->fetch(null, null, null, null, false, true, false)in SmartyDevTemplate.php line 40

at SmartyDevTemplateCore->fetch()in Module.php line 2409

at ModuleCore->display('/home/winefor/www/modules/prestablog/prestablog.php', 'custom-news.tpl')in prestablog.php line 11866

at PrestaBlog->hookDisplayHome(array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 970

at HookCore::coreCallHook(object(PrestaBlog), 'hookdisplayHome', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 355

at HookCore::callHookOn(object(PrestaBlog), 'displayHome', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 907

at HookCore::exec('displayHome')in IndexController.php line 39

at IndexControllerCore->initContent()in Controller.php line 292

at ControllerCore->run()in Dispatcher.php line 515

at DispatcherCore->dispatch()in index.php line 28

Have you any idea ? 

Regards,

Julien

Link to comment
Share on other sites

  • 1 month later...

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