Jump to content

Undefined index: facets sur mon thème en mode debug


Recommended Posts

Bonjour

Suite à maj de prestashop en 1.7.3.6 , j'ai un problème sur mon thème prestacrea en mode debug.

Le theme et les modules sont à jour.

Nouveauté et promotion ne fonctionnent pas  (mais  fonctionnent parfaitement avec le theme classic)

Voici l'erreur :

(1/1) ContextErrorException

Notice: Undefined index: facets

in 81a1040ed0eeab6f58198f9907167c7fced628c5_2.module.psfacetedsearchpsfaceteds.php line 25

at content_5e4660bfadbfa0_36745279(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 2447

at ModuleCore->fetch('module:ps_facetedsearch/ps_facetedsearch.tpl')in Design.php line 44

at Design->displayLeftColumn(array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))

at call_user_func(array(object(Design), 'displayLeftColumn'), array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in HookDispatcher.php line 111

at HookDispatcher->dispatch('displayLeftColumn', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in ps_facetedsearch.php line 1221

at Ps_Facetedsearch->__call('hookdisplayLeftColumn', array(array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1)))in Hook.php line 970

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

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

at HookCore::exec('displayLeftColumn', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1), null)in smarty.config.inc.php line 167

at smartyHook(array('h' => 'displayLeftColumn'), object(SmartyDevTemplate))in SmartyLazyRegister.php line 83

at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayLeftColumn'), object(SmartyDevTemplate)))in d7c7412eac13d3f520308f1ce26b10043e970169_2.file.layout-both-columns.tpl.php line 312

at Block_19485829935e4660bf98a842_59338033->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_19485829935e4660bf98a842_59338033), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_19485829935e4660bf98a842_59338033))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_19485829935e4660bf98a842_59338033', 'left_column')in d7c7412eac13d3f520308f1ce26b10043e970169_2.file.layout-both-columns.tpl.php line 103

at content_5e4660bf993124_23368680(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()in smarty_internal_template.php line 385

at Smarty_Internal_Template->_subTemplateRender('layouts/layout-both-columns.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-both-columns.tpl')in c7b29754b6991faca5b2dff4186175b2e4753258_2.file.layout-left-column.tpl.php line 39

at content_5e4660bf97a266_20597482(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()in smarty_internal_template.php line 385

at Smarty_Internal_Template->_subTemplateRender('layouts/layout-left-column.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-left-column.tpl')in 8e7bd2b7a1d0d0104eebefe10cdb6ec47b79d344_2.file.product-list.tpl.php line 37

at content_5e4660bf96df05_85050251(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()in smarty_internal_template.php line 385

at Smarty_Internal_Template->_subTemplateRender('catalog/listing/product-list.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'catalog/listing/product-list.tpl')in 392ee8c01d527bc8cc1b6144fd76b93c2d22a8cb_2.file.new-products.tpl.php line 34

at content_5e4660d685cc15_41169621(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, 'layouts/layout-left-column.tpl', null, 0)in smarty_internal_templatebase.php line 116

at Smarty_Internal_TemplateBase->fetch('catalog/listing/new-products.tpl', null, 'layouts/layout-left-column.tpl', null, false, true, false)in SmartyDev.php line 40

at SmartyDev->fetch('catalog/listing/new-products.tpl', null, 'layouts/layout-left-column.tpl')in FrontController.php line 683

at FrontControllerCore->smartyOutputContent('catalog/listing/new-products.tpl')in FrontController.php line 667

at FrontControllerCore->display()in Controller.php line 312

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

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

 

Merci pour votre aide

Share this post


Link to post
Share on other sites

J'ai désactiver le module psfacetedsearchpsfaceted

et maintenant j'ai l'erreur :

(1/1) ContextErrorException

Notice: Undefined index: category

in 8e7bd2b7a1d0d0104eebefe10cdb6ec47b79d344_2.file.product-list.tpl.php line 190

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More