Jump to content

SOS pages produits cassés ! [Résolu]


Recommended Posts

Bonjour,

J4ai un gros soucis, je viens de créer des dizaines de pages produits hier, puis je me suis rendu compte que certaines ne se chargent pas correctement (le footer ne se charge pas, et les images se chargent en boucle.

Voici le LONG message d'erreur en mode debug.

Je suis désespéré.

(1/1) ContextErrorException
Notice: Undefined offset: 0

in ProductAssembler.php line 95
at ProductAssemblerCore->addMissingProductFields(array('id_product' => null))
in ProductAssembler.php line 107
at ProductAssemblerCore->assembleProduct(array('id_product' => null))
in ps_categoryproducts.php line 451
at Ps_Categoryproducts->getCategoryProducts(1436, 18)
in ps_categoryproducts.php line 217
at Ps_Categoryproducts->getWidgetVariables('displayFooterProduct', array('product' => object(ProductLazyArray), 'category' => object(Category), 'smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))
in ps_categoryproducts.php line 247
at Ps_Categoryproducts->renderWidget('displayFooterProduct', array('product' => object(ProductLazyArray), 'category' => object(Category), 'smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))
in Hook.php line 975
at HookCore::coreRenderWidget(object(Ps_Categoryproducts), 'displayFooterProduct', array('product' => object(ProductLazyArray), 'category' => object(Category), 'smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))
in Hook.php line 927
at HookCore::exec('displayFooterProduct', array('product' => object(ProductLazyArray), 'category' => object(Category), 'smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1), null)
in smarty.config.inc.php line 167
at smartyHook(array('h' => 'displayFooterProduct', 'product' => object(ProductLazyArray), 'category' => object(Category)), object(SmartyDevTemplate))
in SmartyLazyRegister.php line 83
at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayFooterProduct', 'product' => object(ProductLazyArray), 'category' => object(Category)), object(SmartyDevTemplate)))
in 3a60d06867304fb13744f01cd733913b96cfa987_2.file.product.tpl.php line 430
at Block_897157679621db3c0586400_04703449->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_897157679621db3c0586400_04703449), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_897157679621db3c0586400_04703449))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_897157679621db3c0586400_04703449', 'product_footer', 0)
in 3a60d06867304fb13744f01cd733913b96cfa987_2.file.product.tpl.php line 653
at Block_1524438519621db3c055a530_56185978->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_1524438519621db3c055a530_56185978), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_1524438519621db3c055a530_56185978), object(Block_58101500621db3c05b8f15_70037412))
in smarty_internal_runtime_inheritance.php line 186
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_58101500621db3c05b8f15_70037412))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_58101500621db3c05b8f15_70037412', 'content', 1)
in 8230e52fd16e9d763ac2bc2f84470f893fdcf541_2.file.layout-full-width.tpl.php line 117
at Block_52783129621db3c05b4c95_99004714->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_52783129621db3c05b4c95_99004714), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_52783129621db3c05b4c95_99004714), object(Block_1173781950621db3c0608dc1_85036932))
in smarty_internal_runtime_inheritance.php line 186
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_1173781950621db3c0608dc1_85036932))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_1173781950621db3c0608dc1_85036932', 'content_wrapper', 6)
in dcebbdfdb7e331c9f0a1e580e3c8f04266dcd9a5_2.file.layout-both-columns.tpl.php line 383
at Block_75824748621db3c05f8914_21338231->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_75824748621db3c05f8914_21338231), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_75824748621db3c05f8914_21338231))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_75824748621db3c05f8914_21338231', 'wrapper')
in dcebbdfdb7e331c9f0a1e580e3c8f04266dcd9a5_2.file.layout-both-columns.tpl.php line 94
at content_621db3c0627ae2_49611920(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-full-width.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 8230e52fd16e9d763ac2bc2f84470f893fdcf541_2.file.layout-full-width.tpl.php line 42
at content_621db3c05bc572_83202265(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-full-width.tpl', null, 'layouts/layout-full-width.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-full-width.tpl')
in 3a60d06867304fb13744f01cd733913b96cfa987_2.file.product.tpl.php line 50
at content_621db3c058b603_40546483(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-full-width.tpl', null, 0)
in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase->fetch('catalog/product.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false)
in SmartyDev.php line 40
at SmartyDev->fetch('catalog/product.tpl', null, 'layouts/layout-full-width.tpl')
in FrontController.php line 683
at FrontControllerCore->smartyOutputContent('catalog/product.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

HELP

 

PS 1.7.6.8

gounacreations.com

Merci

 

Edited by gouna
ok (see edit history)
Link to comment
Share on other sites

Bonjour, je viens de créer un article test.
Si je le mets dans ma catégorie "Boite à bijoux" le problème de chargement de page arrive. Si je place le produit dans la catégorie Accueil, ca marche. 
Je viens de tester sans personnalisation le problème est le même. Incompréhensible.

Link to comment
Share on other sites

Donc problème réglé c'est ma faute, j'avais entré du code pour faire apparaitre une sélection de produit en bas de mes pages produits, et vu que je suis en train de refaire mon identité visuelle sur mes articles, je refais toutes mes pages... Et j'ai désactivé un des anciens produits qui devait apparaitre dans cette sélection, ce qui a amené au plantage.

Merci Bonne continuation.

  • Thanks 1
Link to comment
Share on other sites

  • gouna changed the title to SOS pages produits cassés ! [Résolu]

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