christiaannn Posted January 18, 2021 Share Posted January 18, 2021 Hello, After the last update the payment part does not appear. The payment methods should appear. I have checked inside the payment configuration and it looks like this: The module is by Redsys. URL page: https://lapapeleriadelola.com/ Could you helpme please. Thanks. Link to comment Share on other sites More sharing options...
Prestachamps Posted January 18, 2021 Share Posted January 18, 2021 Hi, Could you please reset a Bankwire module for example. There wouldn't be the first time, when after upgrade certain hooks from modules stop working! If the Upgrade was from 1.6 to 1.7, please make sure you uninstall all Ps 1.6 modules, and get the newest version. Keep us posted. Link to comment Share on other sites More sharing options...
christiaannn Posted January 18, 2021 Author Share Posted January 18, 2021 Hello, The payment module is compatible and I have reinstalled it. But the problem remains. I don't know what it can be... Thanks. Link to comment Share on other sites More sharing options...
Prestachamps Posted January 18, 2021 Share Posted January 18, 2021 Hi, you have an error 500 on the payment step of the checkout, so you should enable the debug mode, and then the reason for the error 500 will be displayed in the page. I suppose one of your payment modules is not compatible with the upgraded version. If you don't know from the error, then paste here the full error message or exception message. Also you can disable one by one your payment modules, then you could pinpoint out which payment module is not working with the new PS, and ask the newer version of the module from the module developer. Kind regards, Leo Link to comment Share on other sites More sharing options...
christiaannn Posted January 19, 2021 Author Share Posted January 19, 2021 Hello thanks, after enabling the debug mode, this is the error that appears (1/1) 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 87 at CheckoutPaymentStepCore->render(array('identifier' => 'checkout-payment-step', 'position' => 4, 'ui' => object(RenderableProxy))) in RenderableProxy.php line 52 at RenderableProxy->render(array('identifier' => 'checkout-payment-step', 'position' => 4, 'ui' => object(RenderableProxy))) in smartyfront.config.inc.php line 98 at smartyRender(array('identifier' => 'checkout-payment-step', 'position' => 4, 'ui' => object(RenderableProxy)), object(SmartyDevTemplate)) in SmartyLazyRegister.php line 83 at SmartyLazyRegister->__call('smartyRender', array(array('identifier' => 'checkout-payment-step', 'position' => 4, 'ui' => object(RenderableProxy)), object(SmartyDevTemplate))) in 156e58d94b4b0017b46e28f7f1cb265cf375364c_2.file.checkout-process.tpl.php line 28 at content_60068b24979c77_33488216(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 98 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 208c6a5e002383428debca8f5914ad4cce257224_2.file.checkout.tpl.php line 50 at Block_28310320760068b247cbb01_11031992->callBlock(object(SmartyDevTemplate)) in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_28310320760068b247cbb01_11031992), object(SmartyDevTemplate)) in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_28310320760068b247cbb01_11031992), object(Block_156914980660068b1ac0ff09_30430497)) in smarty_internal_runtime_inheritance.php line 186 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_156914980660068b1ac0ff09_30430497)) in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_156914980660068b1ac0ff09_30430497', 'content', 1) in 43643ede2a7961adb59a33ef3aeb21714be4c4f4_2.file.layout-full-width.tpl.php line 101 at Block_48949062760068b1ac08779_28940393->callBlock(object(SmartyDevTemplate)) in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_48949062760068b1ac08779_28940393), object(SmartyDevTemplate)) in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_48949062760068b1ac08779_28940393), object(Block_61122558160068b1ac2be86_16460034)) in smarty_internal_runtime_inheritance.php line 186 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_61122558160068b1ac2be86_16460034)) in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_61122558160068b1ac2be86_16460034', 'content_wrapper') in 6c17b3c12e557252f5b5de28c89e85793b1cbb4b_2.file.layout-both-columns.tpl.php line 107 at content_60068b1ac35c99_34747635(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, 'bereskletlayouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null) in smarty_internal_runtime_inheritance.php line 116 at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-both-columns.tpl') in 43643ede2a7961adb59a33ef3aeb21714be4c4f4_2.file.layout-full-width.tpl.php line 42 at content_60068b1ac11797_53834788(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, 'bereskletlayouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null) in smarty_internal_runtime_inheritance.php line 116 at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-full-width.tpl') in 208c6a5e002383428debca8f5914ad4cce257224_2.file.checkout.tpl.php line 33 at content_60068b247d4e25_48864994(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, 'bereskletlayouts/layout-full-width.tpl', null, 0) in smarty_internal_templatebase.php line 116 at Smarty_Internal_TemplateBase->fetch('checkout/checkout.tpl', null, 'bereskletlayouts/layout-full-width.tpl', null, false, true, false) in SmartyDev.php line 40 at SmartyDev->fetch('checkout/checkout.tpl', null, 'bereskletlayouts/layout-full-width.tpl') in FrontController.php line 704 at FrontControllerCore->smartyOutputContent('checkout/checkout.tpl') in FrontController.php line 686 at FrontControllerCore->display() in Controller.php line 326 at ControllerCore->run() in Dispatcher.php line 518 at DispatcherCore->dispatch() in index.php line 28 Thanks. Link to comment Share on other sites More sharing options...
Prestachamps Posted January 19, 2021 Share Posted January 19, 2021 Hi, From the error looks to be one of the payment methods/modules. you should try to disable the payment modules one by one, just to make sure which one is causing this, as it can be the bankwire, or redsys module which is not compatible with the new Prestashop version, so you need to get the newer version of the module which is compatible. Do you have by mistake the paypal module installed and deactivated? as this error is being also caused by the older version of paypal on a new Prestashop. If yes, then uninstall paypal, to be sure that not this is causing the error. Kind regards, Peter. Link to comment Share on other sites More sharing options...
christiaannn Posted January 19, 2021 Author Share Posted January 19, 2021 Hello, I have now deactivated and completely eliminated all existing payment methods. I still get this error code in the debugging. (1/1) 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 87 at CheckoutPaymentStepCore->render(array('identifier' => 'checkout-payment-step', 'position' => 4, 'ui' => object(RenderableProxy))) in RenderableProxy.php line 52 at RenderableProxy->render(array('identifier' => 'checkout-payment-step', 'position' => 4, 'ui' => object(RenderableProxy))) in smartyfront.config.inc.php line 98 at smartyRender(array('identifier' => 'checkout-payment-step', 'position' => 4, 'ui' => object(RenderableProxy)), object(SmartyDevTemplate)) in SmartyLazyRegister.php line 83 at SmartyLazyRegister->__call('smartyRender', array(array('identifier' => 'checkout-payment-step', 'position' => 4, 'ui' => object(RenderableProxy)), object(SmartyDevTemplate))) in 156e58d94b4b0017b46e28f7f1cb265cf375364c_2.file.checkout-process.tpl.php line 28 at content_6006ce670682e2_89033663(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 98 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 208c6a5e002383428debca8f5914ad4cce257224_2.file.checkout.tpl.php line 50 at Block_10149858396006ce66e78560_23073286->callBlock(object(SmartyDevTemplate)) in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_10149858396006ce66e78560_23073286), object(SmartyDevTemplate)) in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_10149858396006ce66e78560_23073286), object(Block_5838650516006ce06d7fce3_31808669)) in smarty_internal_runtime_inheritance.php line 186 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_5838650516006ce06d7fce3_31808669)) in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_5838650516006ce06d7fce3_31808669', 'content', 1) in 43643ede2a7961adb59a33ef3aeb21714be4c4f4_2.file.layout-full-width.tpl.php line 101 at Block_13880303726006ce06d7a5a0_06557405->callBlock(object(SmartyDevTemplate)) in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_13880303726006ce06d7a5a0_06557405), object(SmartyDevTemplate)) in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_13880303726006ce06d7a5a0_06557405), object(Block_2939428226006ce06d988b7_34273892)) in smarty_internal_runtime_inheritance.php line 186 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_2939428226006ce06d988b7_34273892)) in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_2939428226006ce06d988b7_34273892', 'content_wrapper') in 6c17b3c12e557252f5b5de28c89e85793b1cbb4b_2.file.layout-both-columns.tpl.php line 107 at content_6006ce06da2407_41164322(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, 'bereskletlayouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null) in smarty_internal_runtime_inheritance.php line 116 at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-both-columns.tpl') in 43643ede2a7961adb59a33ef3aeb21714be4c4f4_2.file.layout-full-width.tpl.php line 42 at content_6006ce06d812b0_33189373(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, 'bereskletlayouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null) in smarty_internal_runtime_inheritance.php line 116 at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-full-width.tpl') in 208c6a5e002383428debca8f5914ad4cce257224_2.file.checkout.tpl.php line 33 at content_6006ce66e81251_74214315(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, 'bereskletlayouts/layout-full-width.tpl', null, 0) in smarty_internal_templatebase.php line 116 at Smarty_Internal_TemplateBase->fetch('checkout/checkout.tpl', null, 'bereskletlayouts/layout-full-width.tpl', null, false, true, false) in SmartyDev.php line 40 at SmartyDev->fetch('checkout/checkout.tpl', null, 'bereskletlayouts/layout-full-width.tpl') in FrontController.php line 704 at FrontControllerCore->smartyOutputContent('checkout/checkout.tpl') in FrontController.php line 686 at FrontControllerCore->display() in Controller.php line 326 at ControllerCore->run() in Dispatcher.php line 518 at DispatcherCore->dispatch() in index.php line 28 Is it possible that it is a problem of the template that is being used? Thanks. Link to comment Share on other sites More sharing options...
Prestachamps Posted January 19, 2021 Share Posted January 19, 2021 Hi well, it can be also one of your overrides which is not compatible with the new PS version, so you can try to temporarily disable overrides from Performance page and check if this solves it partially. Kind regards, Leo Link to comment Share on other sites More sharing options...
christiaannn Posted January 19, 2021 Author Share Posted January 19, 2021 I changed the current template to the default prestashop template and everything works fine, the problem is in the template I was using. I will contact the developer to fix the compatibility in the template. thanks for your help. 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