I’m eoncountering this issue on my Magento 2.4.1 website:
when trying to make an order, by some devices (like my smartphone) at the url https://mywebsite.com/checkout/#shipping the page remains loading (see image below), by others (like my notebook) it works properly, but when making a purchase I receive no order mail confirmation
Magento logs show this errors,is there someone who can help me? Really thinks
[2023-05-31 11:22:03] main.CRITICAL: Exception message: CRLF injection detected
Trace: <pre>#1 LaminasMailAddressList->createAddress('[email protected]', '沙巴体育,...') called at [vendor/laminas/laminas-mail/src/AddressList.php:34]
#2 LaminasMailAddressList->add('[email protected]', '沙巴体育,...') called at [vendor/magento/framework/Mail/EmailMessage.php:225]
#3 MagentoFrameworkMailEmailMessage->convertAddressArrayToAddressList(array(&MagentoFrameworkMailAddress#0000000038ae3a730000000069f4b37d#)) called at [vendor/magento/framework/Mail/EmailMessage.php:75]
#4 MagentoFrameworkMailEmailMessage->__construct(&MagentoFrameworkMailMimeMessage#0000000038ae3a320000000069f4b37d#, array(&MagentoFrameworkMailAddress#0000000038ae3a730000000069f4b37d#), &MagentoFrameworkMailMimeMessageInterfaceFactory#0000000038ae3e8f0000000069f4b37d#, &MagentoFrameworkMailAddressFactory#0000000038ae3eb10000000069f4b37d#, array(&MagentoFrameworkMailAddress#0000000038ae3a4e0000000069f4b37d#), NULL, NULL, NULL, NULL, 'Benvenuto a Euro...', 'utf-8') called at [generated/code/Magento/Framework/Mail/EmailMessage/Interceptor.php:14]
#5 MagentoFrameworkMailEmailMessageInterceptor->__construct(&MagentoFrameworkMailMimeMessage#0000000038ae3a320000000069f4b37d#, array(&MagentoFrameworkMailAddress#0000000038ae3a730000000069f4b37d#), &MagentoFrameworkMailMimeMessageInterfaceFactory#0000000038ae3e8f0000000069f4b37d#, &MagentoFrameworkMailAddressFactory#0000000038ae3eb10000000069f4b37d#, array(&MagentoFrameworkMailAddress#0000000038ae3a4e0000000069f4b37d#), NULL, NULL, NULL, NULL, 'Benvenuto a Euro...', 'utf-8') called at [vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:121]
#6 MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject('MagentoFramewor...', array(&MagentoFrameworkMailMimeMessage#0000000038ae3a320000000069f4b37d#, array(&MagentoFrameworkMailAddress#0000000038ae3a730000000069f4b37d#), &MagentoFrameworkMailMimeMessageInterfaceFactory#0000000038ae3e8f0000000069f4b37d#, &MagentoFrameworkMailAddressFactory#0000000038ae3eb10000000069f4b37d#, array(&MagentoFrameworkMailAddress#0000000038ae3a4e0000000069f4b37d#), NULL, NULL, NULL, NULL, 'Benvenuto a Euro...', 'utf-8')) called at [vendor/magento/framework/ObjectManager/Factory/Compiled.php:108]
#7 MagentoFrameworkObjectManagerFactoryCompiled->create('MagentoFramewor...', array('from' => array(&MagentoFrameworkMailAddress#0000000038ae3a4e0000000069f4b37d#), 'to' => array(&MagentoFrameworkMailAddress#0000000038ae3a730000000069f4b37d#), 'encoding' => 'utf-8', 'body' => &MagentoFrameworkMailMimeMessage#0000000038ae3a320000000069f4b37d#, 'subject' => 'Benvenuto a Euro...')) called at [vendor/magento/framework/ObjectManager/ObjectManager.php:56]
#8 MagentoFrameworkObjectManagerObjectManager->create('MagentoFramewo...', array('from' => array(&MagentoFrameworkMailAddress#0000000038ae3a4e0000000069f4b37d#), 'to' => array(&MagentoFrameworkMailAddress#0000000038ae3a730000000069f4b37d#), 'encoding' => 'utf-8', 'body' => &MagentoFrameworkMailMimeMessage#0000000038ae3a320000000069f4b37d#, 'subject' => 'Benvenuto a Euro...')) called at [generated/code/Magento/Framework/Mail/EmailMessageInterfaceFactory.php:43]
#9 MagentoFrameworkMailEmailMessageInterfaceFactory->create(array('from' => array(&MagentoFrameworkMailAddress#0000000038ae3a4e0000000069f4b37d#), 'to' => array(&MagentoFrameworkMailAddress#0000000038ae3a730000000069f4b37d#), 'encoding' => 'utf-8', 'body' => &MagentoFrameworkMailMimeMessage#0000000038ae3a320000000069f4b37d#, 'subject' => 'Benvenuto a Euro...')) called at [vendor/magento/framework/Mail/Template/TransportBuilder.php:414]
#10 MagentoFrameworkMailTemplateTransportBuilder->prepareMessage() called at [vendor/magento/framework/Mail/Template/TransportBuilder.php:336]
#11 MagentoFrameworkMailTemplateTransportBuilder->getTransport() called at [vendor/magento/module-customer/Model/EmailNotification.php:275]
#12 MagentoCustomerModelEmailNotification->sendEmailTemplate(&MagentoCustomerModelDataCustomer#0000000038ae39e00000000069f4b37d#, 'customer/create_...', 'customer/create_...', array('customer' => &MagentoCustomerModelDataCustomerSecure#0000000038ae39db0000000069f4b37d#, 'back_url' => NULL, 'store' => &MagentoStoreModelStoreInterceptor#0000000038ae3d4c0000000069f4b37d#), 1) called at [vendor/magento/module-customer/Model/EmailNotification.php:401]
#13 MagentoCustomerModelEmailNotification->newAccount(&MagentoCustomerModelDataCustomer#0000000038ae39e00000000069f4b37d#, 'registered', NULL, 1, NULL) called at [vendor/magento/framework/Interception/Interceptor.php:58]
#14 MagentoCustomerModelEmailNotificationInterceptor->___callParent('newAccount', array(&MagentoCustomerModelDataCustomer#0000000038ae39e00000000069f4b37d#, 'registered', NULL, 1, NULL)) called at [vendor/magento/framework/Interception/Interceptor.php:138]
#15 MagentoCustomerModelEmailNotificationInterceptor->MagentoFrameworkInterception{closure}(&MagentoCustomerModelDataCustomer#0000000038ae39e00000000069f4b37d#, 'registered', NULL, 1, NULL) called at [vendor/dotmailer/dotmailer-magento2-extension/Plugin/CustomerEmailNotificationPlugin.php:64]
#16 DotdigitalgroupEmailPluginCustomerEmailNotificationPlugin->aroundNewAccount(&MagentoCustomerModelEmailNotificationInterceptor#0000000038ae39bb0000000069f4b37d#, &Closure#0000000038ae39ba0000000069f4b37d#, &MagentoCustomerModelDataCustomer#0000000038ae39e00000000069f4b37d#, 'registered', NULL, 1) called at [vendor/magento/framework/Interception/Interceptor.php:135]
#17 MagentoCustomerModelEmailNotificationInterceptor->MagentoFrameworkInterception{closure}(&MagentoCustomerModelDataCustomer#0000000038ae39e00000000069f4b37d#, 'registered', NULL, 1) called at [vendor/magento/framework/Interception/Interceptor.php:153]
#18 MagentoCustomerModelEmailNotificationInterceptor->___callPlugins('newAccount', array(&MagentoCustomerModelDataCustomer#0000000038ae39e00000000069f4b37d#, 'registered', NULL, 1), NULL) called at [generated/code/Magento/Customer/Model/EmailNotification/Interceptor.php:23]
#19 MagentoCustomerModelEmailNotificationInterceptor->newAccount(&MagentoCustomerModelDataCustomer#0000000038ae39e00000000069f4b37d#, 'registered', NULL, 1) called at [vendor/magento/module-customer/Model/AccountManagement.php:979]
#20 MagentoCustomerModelAccountManagement->sendEmailConfirmation(&MagentoCustomerModelDataCustomer#0000000038ae39e00000000069f4b37d#, NULL) called at [vendor/magento/module-customer/Model/AccountManagement.php:937]
#21 MagentoCustomerModelAccountManagement->createAccountWithPasswordHash(&MagentoCustomerModelDataCustomer#0000000038ae39e00000000069f4b37d#, 'e5a42ce0e03479f8...', NULL) called at [vendor/magento/module-customer/Model/AccountManagement.php:853]
#22 MagentoCustomerModelAccountManagement->createAccount(&MagentoCustomerModelDataCustomer#0000000038ae38cd0000000069f4b37d#, 'DZcs@xsq64241155...', NULL) called at [vendor/magento/module-customer/Controller/Account/CreatePost.php:380]
#23 MagentoCustomerControllerAccountCreatePost->execute() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#24 MagentoCustomerControllerAccountCreatePostInterceptor->___callParent('execute', array()) called at [vendor/magento/framework/Interception/Interceptor.php:138]
#25 MagentoCustomerControllerAccountCreatePostInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/module-customer/Controller/Plugin/Account.php:64]
#26 MagentoCustomerControllerPluginAccount->aroundExecute(&MagentoCustomerControllerAccountCreatePostInterceptor#0000000038ae3f510000000069f4b37d#, &Closure#0000000038ae3f490000000069f4b37d#) called at [vendor/magento/framework/Interception/Interceptor.php:135]
#27 MagentoCustomerControllerAccountCreatePostInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/framework/App/Action/Plugin/ActionFlagNoDispatchPlugin.php:51]
#28 MagentoFrameworkAppActionPluginActionFlagNoDispatchPlugin->aroundExecute(&MagentoCustomerControllerAccountCreatePostInterceptor#0000000038ae3f510000000069f4b37d#, &Closure#0000000038ae3f490000000069f4b37d#) called at [vendor/magento/framework/Interception/Interceptor.php:135]
#29 MagentoCustomerControllerAccountCreatePostInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#30 MagentoCustomerControllerAccountCreatePostInterceptor->___callPlugins('execute', array(), array(array('customer-app-act...'))) called at [generated/code/Magento/Customer/Controller/Account/CreatePost/Interceptor.php:23]
#31 MagentoCustomerControllerAccountCreatePostInterceptor->execute() called at [vendor/magento/framework/App/Action/Action.php:111]
#32 MagentoFrameworkAppActionAction->dispatch(&MagentoFrameworkAppRequestHttp#0000000038ae3c070000000069f4b37d#) called at [vendor/magento/framework/Interception/Interceptor.php:58]
#33 MagentoCustomerControllerAccountCreatePostInterceptor->___callParent('dispatch', array(&MagentoFrameworkAppRequestHttp#0000000038ae3c070000000069f4b37d#)) called at [vendor/magento/framework/Interception/Interceptor.php:138]
#34 MagentoCustomerControllerAccountCreatePostInterceptor->MagentoFrameworkInterception{closure}(&MagentoFrameworkAppRequestHttp#0000000038ae3c070000000069f4b37d#) called at [vendor/magento/framework/Interception/Interceptor.php:153]
#35 MagentoCustomerControllerAccountCreatePostInterceptor->___callPlugins('dispatch', array(&MagentoFrameworkAppRequestHttp#0000000038ae3c070000000069f4b37d#), array(array('catalog_app_acti...', 'contextPlugin'))) called at [generated/code/Magento/Customer/Controller/Account/CreatePost/Interceptor.php:32]
#36 MagentoCustomerControllerAccountCreatePostInterceptor->dispatch(&MagentoFrameworkAppRequestHttp#0000000038ae3c070000000069f4b37d#) called at [vendor/magento/framework/App/FrontController.php:186]
#37 MagentoFrameworkAppFrontController->processRequest(&MagentoFrameworkAppRequestHttp#0000000038ae3c070000000069f4b37d#, &MagentoCustomerControllerAccountCreatePostInterceptor#0000000038ae3f510000000069f4b37d#) called at [vendor/magento/framework/App/FrontController.php:118]
#38 MagentoFrameworkAppFrontController->dispatch(&MagentoFrameworkAppRequestHttp#0000000038ae3c070000000069f4b37d#) called at [vendor/magento/framework/Interception/Interceptor.php:58]
#39 MagentoFrameworkAppFrontControllerInterceptor->___callParent('dispatch', array(&MagentoFrameworkAppRequestHttp#0000000038ae3c070000000069f4b37d#)) called at [vendor/magento/framework/Interception/Interceptor.php:138]
#40 MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}(&MagentoFrameworkAppRequestHttp#0000000038ae3c070000000069f4b37d#) called at [vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php:99]
#41 MagentoStoreAppFrontControllerPluginRequestPreprocessor->aroundDispatch(&MagentoFrameworkAppFrontControllerInterceptor#0000000038ae3d720000000069f4b37d#, &Closure#0000000038ae3d6e0000000069f4b37d#, &MagentoFrameworkAppRequestHttp#0000000038ae3c070000000069f4b37d#) called at [vendor/magento/framework/Interception/Interceptor.php:135]
#42 MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}(&MagentoFrameworkAppRequestHttp#0000000038ae3c070000000069f4b37d#) called at [vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php:75]
#43 MagentoPageCacheModelAppFrontControllerBuiltinPlugin->aroundDispatch(&MagentoFrameworkAppFrontControllerInterceptor#0000000038ae3d720000000069f4b37d#, &Closure#0000000038ae3d6e0000000069f4b37d#, &MagentoFrameworkAppRequestHttp#0000000038ae3c070000000069f4b37d#) called at [vendor/magento/framework/Interception/Interceptor.php:135]
#44 MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}(&MagentoFrameworkAppRequestHttp#0000000038ae3c070000000069f4b37d#) called at [vendor/magento/framework/Interception/Interceptor.php:153]
#45 MagentoFrameworkAppFrontControllerInterceptor->___callPlugins('dispatch', array(&MagentoFrameworkAppRequestHttp#0000000038ae3c070000000069f4b37d#), NULL) called at [generated/code/Magento/Framework/App/FrontController/Interceptor.php:23]
#46 MagentoFrameworkAppFrontControllerInterceptor->dispatch(&MagentoFrameworkAppRequestHttp#0000000038ae3c070000000069f4b37d#) called at [vendor/magento/framework/App/Http.php:116]
#47 MagentoFrameworkAppHttp->launch() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:23]
#48 MagentoFrameworkAppHttpInterceptor->launch() called at [vendor/magento/framework/App/Bootstrap.php:263]
#49 MagentoFrameworkAppBootstrap->run(&MagentoFrameworkAppHttpInterceptor#0000000038ae3cdc0000000069f4b37d#) called at [index.php:39]
</pre> [] []