Hi guys,
I need some help here regarding placing orders.
When the customer place order, a confirmation email is expected to be sent but it was not.
I go to the exception log and here's the error
if the customer is logged in it will show No such entity for customerId.
if it's a guest check out it will show No such entity for cartId.
I have debugged and these are the result
the highlighted line is where it returns No Such entity for customerId
Thank you.
Solved! Go to Solution.
Hello @tony_le2
If you are using Magento 2.3.3. Make sure you have installed this patch
EmailMessageInterface backward compatibility issue patch for Magento 2.3.3
https://magento.com/tech-resources/download
For 2.3.2, Is cron properly setup on your hosting server?
If that doesn't work, try using any SMTP extension on your magento.
@theMageComp wrote:
http://prntscr.com/pm6pls
See this screenshot, depending on php path you need to setup the cron.
Here is the Magento 2 guide on cron setup
https://devdocs.magento.com/guides/v2.3/config-guide/cli/config-cli-subcommands-cron.html
Hi,
I have 2 users root and another user to access by SFTP, I install cron for both. But "main.CRITICAL: No such entity with customerId " still present.
Hello @tony_le2,
This is magento existing bug. Please refer the link for more info: https://github.com/magento/magento2/issues/23411
Please use this below link :
https://magefan.com/blog/no-such-entity-fix-for-magento-2
I hope this will fix your issue. If still you face the same problem, let me know.
If it helps you, please accept it as solution and give kudos.
Regards.