Description
Trying to place an order on a multi-store site and this problem only affects one store based in the US. Go through checkout as normal, and just as you hit place an order button to confirm payment -> get an error 500. According to Adyen, the payment was taken but the callback returns without a token leading to the error 500.
I've got this error:
"1567179274000","08/30/2019 10:34:34.000 -0500","[30-Aug-2019 15:34:34 UTC] PHP Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Email\Model\Template::setVars() must be of the type array, null given, called in /srv/magento/swarovski-stage/deploys/0.0.0.420/vendor/magento/framework/Mail/Template/TransportBuilder.php on line 270 and defined in /srv/magento/swarovski-stage/deploys/0.0.0.420/vendor/magento/module-email/Model/Template.php:403
Stack trace:
#0 /srv/magento/swarovski-stage/deploys/0.0.0.420/vendor/magento/framework/Mail/Template/TransportBuilder.php(270): Magento\Email\Model\Template->setVars(NULL)
#1 /srv/magento/swarovski-stage/deploys/0.0.0.420/vendor/magento/framework/Mail/Template/TransportBuilder.php(281): Magento\Framework\Mail\Template\TransportBuilder->getTemplate()
#2 /srv/magento/swarovski-stage/deploys/0.0.0.420/vendor/magento/framework/Mail/Template/TransportBuilder.php(241): Magento\Framework\Mail\Template\TransportBuilder->prepareMessage()
#3 /srv/magento/swarovski-stage/deploys/0.0.0.420/vendor/magento/module-sales/Model/Order/Email/SenderBuilder.php(78): Magento in /srv/magento/swarovski-stage/deploys/0.0.0.420/vendor/magento/module-email/Model/Template.php on line 403","swarovski-magento-web-i-0c73713b6c2498ad3","1178","PHP Error Logs","swarovski/stage/