Jump to content

Presta 1.7.6.8 instable avec erreur 500


Recommended Posts

Bonjour,

Je rencontre quelques soucis d'instabilité suite à une mise à jour du module " mise à jours et conseils" qui s'est mal passé sous presta 1.7.6.8. ( Pour info MAJ mineur 2.1.1 > 2.1.2 ).
Après avoir fait la mise à jours manuellement, j'obtiens souvent des crash erreur 500 avec l'erreur suivante en front débug :

Quote

(1/1) ContextErrorException
Notice: Undefined index: lang_iso

in 61736212dbff9c93479b8239f7f594b26dbeff14_2.file.header.tpl.php line 75
at content_5fd8ae89341251_84408885(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('file:_partials/header.tpl', null, 'layouts/layout-full-width.tpl', 0, 3600, array(), 0, false)
in 23cf6fcda333eb89de6a62d295f26f6cf7fd86a5_2.file.layout-both-columns.tpl.php line 189
at Block_9910465605fd8ae89115f24_98968482->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_9910465605fd8ae89115f24_98968482), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_9910465605fd8ae89115f24_98968482))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_9910465605fd8ae89115f24_98968482', 'header')
in 23cf6fcda333eb89de6a62d295f26f6cf7fd86a5_2.file.layout-both-columns.tpl.php line 63
at content_5fd8ae891377e2_85815621(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 126
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-both-columns.tpl')
in 10537b65906170c622c4d2ab9a08631efa2ce924_2.file.layout-full-width.tpl.php line 42
at content_5fd8ae890d00f3_08421069(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 126
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-full-width.tpl')
in bbf71ab6826a3a313c634e709e2c00de5099d9b3_2.file.page.tpl.php line 33
at content_5fd8ae89084817_44682561(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('page.tpl', null, 'layouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)
in smarty_internal_runtime_inheritance.php line 126
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'page.tpl')
in 8e4285c7c22c573fce356cce6883b57cd1741c3b_2.file.index.tpl.php line 33
at content_5fd8ae88f2e2d1_87851909(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('index.tpl', null, 'layouts/layout-full-width.tpl', null, 0)
in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase->fetch('index.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false)
in SmartyDev.php line 40
at SmartyDev->fetch('index.tpl', null, 'layouts/layout-full-width.tpl')
in FrontController.php line 683
at FrontControllerCore->smartyOutputContent('index.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 27

En fouillant sur le net j'arrive tout remettre en route en vidant le cache et en mettant à jour la traduction FR. Mais ça revient régulièrement dès que je touche à quelque chose...

Auriez-vous une idée de comment régler ce problème pour éviter que notre e-commerce soit down en cette période de fin d'année  ?

 

Merci d'avance.

 

Cordialement,

Félix.

 

Edited by Felix40400
ajout tag (see edit history)
Link to comment
Share on other sites

  • 3 weeks later...
Il y a 1 heure, Vincev60 a dit :

Quel est d'ailleurs son utilité réel? 

Bonne question, Prestashop a développé pas mal de module totalement inutiles comme celui-ci, ou encore gamification.

Ce module fait parti de la liste des modules que je dois désinstaller et effacer à chaque nouvelle installation de Prestashop, cela permet de gagner en performances.

Link to comment
Share on other sites

8 hours ago, Vincev60 said:

désactiver le module pour voir si le bug continue.

Il est desactivé sur notre 1.7.6.8 et le site fonctionne normalement.

Quel est d'ailleurs son utilité réel? 

C'est ce que j'ai fait. La MAJ automatique via le back office s'est mal passé, je n'avais plus accès  à la gestion des modules ( erreur 500 ) Je l'ai donc remis en version d'installation et je l'ai désinstallé. Mais depuis, je sens une certaine instabilité quand on navigue un peu trop dans le back office, notamment pour vider le cache ou supprimer d'autres modules.

Une piste par rapport au code erreur que j'ai posté ?

 

Merci d'avance.

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