Jump to content

Error PaymentOption.php on line 337 in Checkout page


cprince

Recommended Posts

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

 

Screenshot 2022-09-19 121718.jpg

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