Discussions

Ask a Question
Back to All

Error 500 on prestshop order payment

Hi,
I have installed and configured PS plugin, everything is fine until I complete the order, when i send order, instead bring me to payment page, it shows an ERROR 550.

The order is registered in admin area, customer and merchant cannot receive any email, log is not written...

Here the apache log:
[Fri Jan 06 12:35:33.840443 2023] [proxy_fcgi:error] [pid 5131:tid 139892839405312] [client 82.215.131.230:44122] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function getName() on null in /var/www/vhosts/mydomain.com/mydomain.com/prd/classes/Mail.php:651\nStack trace:\n#0 /var/www/vhosts/mydomain.com/mydomain.com/prd/classes/Mail.php(401): MailCore::getTemplateBasePath()\n#1 /var/www/vhosts/mydomain.com/mydomain.com/prd/classes/PrestaShopLogger.php(125): MailCore::send()\n#2 /var/www/vhosts/mydomain.com/mydomain.com/prd/classes/PrestaShopLogger.php(172): PrestaShopLoggerCore::sendByMail()\n#3 /var/www/vhosts/mydomain.com/mydomain.com/prd/classes/PaymentModule.php(739): PrestaShopLoggerCore::addLog()\n#4 /var/www/vhosts/mydomain.com/mydomain.com/prd/modules/satispay/controllers/front/payment.php(41): PaymentModuleCore->validateOrder()\n#5 /var/www/vhosts/mydomain.com/mydomain.com/prd/classes/controller/Controller.php(295): SatispayPaymentModuleFrontController->postProcess()\n#6 /var/www/vhosts/mydomain.com/mydomain.com/prd/classes/Dispatcher.php(525): ControllerCore->run()\n#7 /var/www/vhosts/mydomain.com/mydomain.com/prd/in...', referer: https://www.mydomain.com/it/ordine

Any suggestion about what to check or configure?

Thanks in Advance

Matt