Jump to content

SOLVED error 500 after payment with ps_wirepayment


sococa

Recommended Posts

prestashop 8.1
PHP : 8.1.29

Hello,
For no reason i receive the error "parameter "idShop" is corrupted with ps_wirepayment" when i command with wirepayment module. All was fine and it sudenly appeared.
Note that the command is validate but redirection give me this.

What i tried : 
- reinstall the module
- enable all overrides

Someone know the solution please ?
Thank you :)

Edited by sococa
the problem is more precise (see edit history)
Link to comment
Share on other sites

  • sococa changed the title to error 500 after payment with ps_wirepayment

New error, it seems that the problem come from the mail : 

Fatal error: Uncaught TypeError: Egulias\EmailValidator\EmailValidator::isValid(): Argument #1 ($email) must be of type string, null given, called in /home/u376910284/domains/lebrun.fr/public_html/prestashop/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/MailboxHeader.php on line 354 and defined in /home/u376910284/domains/lebrun.fr/public_html/prestashop/vendor/egulias/email-validator/src/EmailValidator.php:35 Stack trace: #0 /home/u376910284/domains/lebrun.fr/public_html/prestashop/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/MailboxHeader.php(354): Egulias\EmailValidator\EmailValidator->isValid() #1 /home/u376910284/domains/lebrun.fr/public_html/prestashop/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/MailboxHeader.php(272): Swift_Mime_Headers_MailboxHeader->assertValidAddress() #2 /home/u376910284/domains/lebrun.fr/public_html/prestashop/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/MailboxHeader.php(117): Swift_Mime_Headers_MailboxHeader->normalizeMailboxes() #3 /home/u376910284/domains/lebrun.fr/public_html/prestashop/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/MailboxHeader.php(74): Swift_Mime_Headers_MailboxHeader->setNameAddresses() #4 /home/u376910284/domains/lebrun.fr/public_html/prestashop/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/SimpleHeaderFactory.php(61): Swift_Mime_Headers_MailboxHeader->setFieldBodyModel() #5 /home/u376910284/domains/lebrun.fr/public_html/prestashop/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/SimpleHeaderSet.php(71): Swift_Mime_SimpleHeaderFactory->createMailboxHeader() #6 /home/u376910284/domains/lebrun.fr/public_html/prestashop/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/SimpleMessage.php(427): Swift_Mime_SimpleHeaderSet->addMailboxHeader() #7 /home/u376910284/domains/lebrun.fr/public_html/prestashop/classes/Mail.php(630): Swift_Mime_SimpleMessage->setBcc() #8 /home/u376910284/domains/lebrun.fr/public_html/prestashop/classes/PaymentModule.php(719): MailCore::send() #9 /home/u376910284/domains/lebrun.fr/public_html/prestashop/modules/ps_wirepayment/controllers/front/validation.php(63): PaymentModuleCore->validateOrder() #10 /home/u376910284/domains/lebrun.fr/public_html/prestashop/classes/controller/Controller.php(308): Ps_WirepaymentValidationModuleFrontController->postProcess() #11 /home/u376910284/domains/lebrun.fr/public_html/prestashop/classes/Dispatcher.php(510): ControllerCore->run() #12 /home/u376910284/domains/lebrun.fr/public_html/prestashop/index.php(28): DispatcherCore->dispatch() #13 {main} thrown in /home/u376910284/domains/lebrun.fr/public_html/prestashop/vendor/egulias/email-validator/src/EmailValidator.php on line 35

Link to comment
Share on other sites

  • sococa changed the title to SOLVED error 500 after payment with ps_wirepayment

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