meinmarkt Posted March 17, 2017 Share Posted March 17, 2017 Hello, With PS 1.7.0.5, when the payment module SOFORT is installed and enabled but not configured, it breaks the checkout with a fatal error: FatalThrowableError in PaymentOption.php line 304:Type error: Argument 1 passed to PrestaShop\PrestaShop\Core\Payment\PaymentOption::convertLegacyOption() must be of the type array, boolean givenin PaymentOption.php line 304 at PaymentOption::convertLegacyOption(false) at array_map(array('PrestaShop\PrestaShop\Core\Payment\PaymentOption', 'convertLegacyOption'), array('sofortbanking' => false)) in PaymentOptionsFinder.php line 45 at PaymentOptionsFinderCore->find() in PaymentOptionsFinder.php line 95 at PaymentOptionsFinderCore->present() in CheckoutPaymentStep.php line 75 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 94 at smartyRender(array('identifier' => 'checkout-payment-step', 'position' => '4', 'ui' => object(RenderableProxy)), object(Smarty_Dev_Template)) in SmartyLazyRegister.php line 83 at SmartyLazyRegister->__call('smartyRender', array(array('identifier' => 'checkout-payment-step', 'position' => '4', 'ui' => object(RenderableProxy)), object(Smarty_Dev_Template))) in smarty_internal_templatebase.php(157) : eval()'d code line 36 at content_58cbc7b3e76325_26667880(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188 at Smarty_Internal_TemplateBase->fetch(object(Smarty_Dev_Template), null, null, null, false, true, false) in SmartyDev.php line 60 at Smarty_Dev_Template->fetch() in CheckoutProcess.php line 110 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 94 at smartyRender(array('file' => 'checkout/checkout-process.tpl', 'ui' => object(RenderableProxy)), object(Smarty_Dev_Template)) in SmartyLazyRegister.php line 83 at SmartyLazyRegister->__call('smartyRender', array(array('file' => 'checkout/checkout-process.tpl', 'ui' => object(RenderableProxy)), object(Smarty_Dev_Template))) in smarty_internal_templatebase.php(157) : eval()'d code line 146 at content_58cbc7b3a25766_17552986(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188 at Smarty_Internal_TemplateBase->fetch('modules/ps_legalcompliance/views/templates/hook/hookDisplayOverrideTemplateFooter.tpl', null, 'layouts/layout-full-width.tpl', object(SmartyDev), false, true, false) in SmartyDev.php line 41 at SmartyDev->fetch('modules/ps_legalcompliance/views/templates/hook/hookDisplayOverrideTemplateFooter.tpl', null, 'layouts/layout-full-width.tpl') in FrontController.php line 655 at FrontControllerCore->smartyOutputContent('modules/ps_legalcompliance/views/templates/hook/hookDisplayOverrideTemplateFooter.tpl') in FrontController.php line 639 at FrontControllerCore->display() in Controller.php line 221 at ControllerCore->run() in Dispatcher.php line 366 at DispatcherCore->dispatch() in index.php line 28 Link to comment Share on other sites More sharing options...
bellini13 Posted March 17, 2017 Share Posted March 17, 2017 I assume this SOFORT module has not been updated to support PS v1.7 Link to comment Share on other sites More sharing options...
Rajpardhan Posted December 20, 2019 Share Posted December 20, 2019 Same Problems Any Solution For this Problems (1/1) FatalThrowableError Type error: Argument 1 passed to PrestaShop\PrestaShop\Core\Payment\PaymentOption::convertLegacyOption() must be of the type array, null given in PaymentOption.php line 337 at PaymentOption::convertLegacyOption(null) at array_map(array('PrestaShop\\PrestaShop\\Core\\Payment\\PaymentOption', 'convertLegacyOption'), array('stripe_official' => null))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' => 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 901ac6360da544620056381bd8057c64b2de4a1a_2.file.checkout-process.tpl.php line 28 at content_5dfc5591b9a3b6_96319656(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 6aeb5ec4f9dc054bb24b5cf4885904c285b037a1_2.file.checkout.tpl.php line 178 at Block_2325299715dfc559181a8f0_26575033->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_2325299715dfc559181a8f0_26575033), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_2325299715dfc559181a8f0_26575033))in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_2325299715dfc559181a8f0_26575033', 'cart_summary', 3)in 6aeb5ec4f9dc054bb24b5cf4885904c285b037a1_2.file.checkout.tpl.php line 217 at Block_8497273285dfc559181a303_42347937->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_8497273285dfc559181a303_42347937), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_8497273285dfc559181a303_42347937))in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_8497273285dfc559181a303_42347937', 'content')in 6aeb5ec4f9dc054bb24b5cf4885904c285b037a1_2.file.checkout.tpl.php line 71 at content_5dfc5591821ab5_97914665(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 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 Link to comment Share on other sites More sharing options...
Tunino Posted December 7, 2020 Share Posted December 7, 2020 hello @meinmarkt Did you solved your problem ? i have the same and don't know how to solve it. thanks for your help. Link to comment Share on other sites More sharing options...
yolodrolo Posted February 20, 2021 Share Posted February 20, 2021 Am 7.12.2020 um 2:18 PM schrieb Tunino: hello @meinmarkt Did you solved your problem ? i have the same and don't know how to solve it. thanks for your help. hi any news? i have the same problem thanks Link to comment Share on other sites More sharing options...
k1994v Posted March 3, 2021 Share Posted March 3, 2021 Hi, Please unhook all modules from displayPaymentEU hook. 2 Link to comment Share on other sites More sharing options...
yolodrolo Posted March 3, 2021 Share Posted March 3, 2021 thank you 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