Problem sending email
-
Hi,
Without having changed anything on my site, I have noticed a problem with sending emails.
Or to be more precise, with triggering the sending of emails.
When a new order is placed, no email is sent, neither the new order email (to the customer and the admin), nor any other email following the change in order status.
In addition, a “fatal error” appears in the Woocommerce log, concerning this child template:
Uncaught Error: Call to a member function get_order_number() on null in ……/woocommerce/emails/admin-cancelled-order.php:40
Test emails are sent perfectly.
Order emails sent manually work perfectly.
However, as soon as Woocommerce needs to trigger an email, the above error occurs and nothing is sent.
If I rename this child template so that the original Woocommerce template is used, the result is exactly the same: the system finds an error in the admin-cancelled-order.php template of the Woocommerce plugin.
Where could this sudden problem be coming from ?
Thank you in advance for your help !
Best regards
You must be logged in to reply to this topic.