cprince Posted September 19, 2022 Share Posted September 19, 2022 Hello, I am having an error in the checkout section, just in the shipping method area, as can be seen in the attached image. The mistake is: Fatal error: Uncaught TypeError: Argument 1 passed to PrestaShop\PrestaShop\Core\Payment\PaymentOption::convertLegacyOption() must be of the type array, string given in /homepages/0/d747088077/htdocs/clickandbuilds/PrestaShop/prueba/src/Core/Payment/PaymentOption.php:337 Stack trace: #0 [internal function]: PrestaShop\PrestaShop\Core\Payment\PaymentOption::convertLegacyOption('') #1 /homepages/0/d747088077/htdocs/clickandbuilds/PrestaShop/prueba/classes/checkout/PaymentOptionsFinder.php(46): array_map(Array, Array) #2 /homepages/0/d747088077/htdocs/clickandbuilds/PrestaShop/prueba/classes/checkout/PaymentOptionsFinder.php(82): PaymentOptionsFinderCore->find() #3 /homepages/0/d747088077/htdocs/clickandbuilds/PrestaShop/prueba/classes/checkout/CheckoutPaymentStep.php(87): PaymentOptionsFinderCore->present(false) #4 /homepages/0/d747088077/htdocs/clickandbuilds/PrestaShop/prueba/src/Core/Foundation/Templating/RenderableProxy.php(52): CheckoutPaymentStepCore->render(Array) #5 /homepages/0/d747088077/htdocs/clickandbuilds/Pres in /homepages/0/d747088077/htdocs/clickandbuilds/PrestaShop/prueba/src/Core/Payment/PaymentOption.php on line 337 I read in another post that it was related to the paypal module, but I disabled it and the error continues. PrestaShop version: 1.7.8.7 PHP: 7.4.30 Link to comment Share on other sites More sharing options...
ComGrafPL Posted September 19, 2022 Share Posted September 19, 2022 Disable all your payment modules but the default ones (Payment by Bank Wire, Payment on Delivery, ...) and then check if the problem still persist. Link to comment Share on other sites More sharing options...
cprince Posted September 19, 2022 Author Share Posted September 19, 2022 7 minutes ago, ComGrafPL said: Disable all your payment modules but the default ones (Payment by Bank Wire, Payment on Delivery, ...) and then check if the problem still persist. yes, I disabled them all and the problem continues 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