Studio Créations Posted December 4, 2019 Share Posted December 4, 2019 Bonjour, Je viens demander votre aide car je n'arrive pas à résoudre un bug apparu après l'installation du module e-transaction sur un multiboutique en 1.7.6.1 avec php 7.2.25. Alors que tout fonctionnait très bien avant l'installation de ce module, j'ai le message d'erreur suivant en activant le débogage (message qui est resté après la suppression du module e-transaction): Citation FatalThrowableError Type error: Argument 1 passed to PrestaShop\PrestaShop\Core\Payment\PaymentOption::convertLegacyOption() must be of the type array, string given in PaymentOption.php line 337 at PaymentOption::convertLegacyOption('') at array_map(array('PrestaShop\\PrestaShop\\Core\\Payment\\PaymentOption', 'convertLegacyOption'), array('anthemeblocks' => ''))in PaymentOptionsFinder.php line 46 at PaymentOptionsFinderCore->find()in PaymentOptionsFinder.php line 82 at PaymentOptionsFinderCore->present(false)in CheckoutPaymentStep.php line 84 at CheckoutPaymentStepCore->render(array('identifier' => 'checkout-payment-step', 'position' => 3, 'ui' => object(RenderableProxy)))in RenderableProxy.php line 52 at RenderableProxy->render(array('identifier' => 'checkout-payment-step', 'position' => 3, 'ui' => object(RenderableProxy)))in smartyfront.config.inc.php line 104 at smartyRender(array('identifier' => 'checkout-payment-step', 'position' => 3, 'ui' => object(RenderableProxy)), object(SmartyDevTemplate))in SmartyLazyRegister.php line 83 at SmartyLazyRegister->__call('smartyRender', array(array('identifier' => 'checkout-payment-step', 'position' => 3, 'ui' => object(RenderableProxy)), object(SmartyDevTemplate)))in b021366e9bedb03e2fea6d330ef4b19a5c3531d0_2.file.checkout-process.tpl.php line 28 at content_5de7b526746143_73052698(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 CheckoutProcess.php line 112 at CheckoutProcessCore->render(array('file' => 'checkout/checkout-process.tpl', 'ui' => object(RenderableProxy)))in RenderableProxy.php line 52 at RenderableProxy->render(array('file' => 'checkout/checkout-process.tpl', 'ui' => object(RenderableProxy)))in smartyfront.config.inc.php line 104 at smartyRender(array('file' => 'checkout/checkout-process.tpl', 'ui' => object(RenderableProxy)), object(SmartyDevTemplate))in SmartyLazyRegister.php line 83 at SmartyLazyRegister->__call('smartyRender', array(array('file' => 'checkout/checkout-process.tpl', 'ui' => object(RenderableProxy)), object(SmartyDevTemplate)))in cb448bd97e7158a2d31a13807c8b60efe3f6a304_2.file.checkout.tpl.php line 52 at Block_13656559275de7b526551e13_90563599->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_13656559275de7b526551e13_90563599), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_13656559275de7b526551e13_90563599), object(Block_18647950525de7b526560023_92593608))in smarty_internal_runtime_inheritance.php line 186 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_18647950525de7b526560023_92593608))in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_18647950525de7b526560023_92593608', 'content', 1)in 0d54b05f7532228ce6f63200a16e1e57b413d709_2.file.layout-full-width.tpl.php line 99 at Block_11909635785de7b52655fcb5_64700061->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_11909635785de7b52655fcb5_64700061), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_11909635785de7b52655fcb5_64700061), object(Block_19555865735de7b52656dac2_83817082))in smarty_internal_runtime_inheritance.php line 186 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_19555865735de7b52656dac2_83817082))in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_19555865735de7b52656dac2_83817082', 'content_wrapper')in c76088bf983d25103d2e64ad899611efec62d7af_2.file.layout-both-columns.tpl.php line 88 at content_5de7b526573e03_75304574(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 0d54b05f7532228ce6f63200a16e1e57b413d709_2.file.layout-full-width.tpl.php line 42 at content_5de7b5265606e1_38044020(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 cb448bd97e7158a2d31a13807c8b60efe3f6a304_2.file.checkout.tpl.php line 35 at content_5de7b526557949_98509841(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('checkout/checkout.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false)in SmartyDev.php line 40 at SmartyDev->fetch('checkout/checkout.tpl', null, 'layouts/layout-full-width.tpl')in FrontController.php line 683 at FrontControllerCore->smartyOutputContent('checkout/checkout.tpl')in FrontController.php line 71 at FrontController->smartyOutputContent('checkout/checkout.tpl')in FrontController.php line 667 at FrontControllerCore->display()in Controller.php line 312 at ControllerCore->run()in Dispatcher.php line 235 at Dispatcher->dispatch()in index.php line 28 Quelqu'un aurait une piste pour m'éclairer ? J'ai testé avec différentes version de PHP, désactivé et désinstallé les différents modules de paiements, désactivé les modules non développés par Prestashop, désactivé toutes les surchages, vidé les caches, mais le message d'erreur reste. Merci d'avance pour votre aide. Link to comment Share on other sites More sharing options...
Studio Créations Posted December 4, 2019 Author Share Posted December 4, 2019 Petite précision supplémentaire, je n'ai le bug que sur une des deux boutiques du multi boutique. Link to comment Share on other sites More sharing options...
Studio Créations Posted December 4, 2019 Author Share Posted December 4, 2019 Problème résolu, j'ai essayé en mettant le template Classic de Prestashop le problème n'apparaissait plus, une fois repassé sur le template acheté le bug avait disparu, si ça peut en aider certains à l'avenir. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now