-
-
Hello –
One of my customers just forwarded me the email she was sent from Woocommerce when I marked her order as complete in the dashboard. At the very top (just under the header, above the order # and table of items) there is this error code:
Warning: printf(): Too few arguments in /home3/lavendl6/public_html/wp-content/themes/Tower-Child/woocommerce/emails/customer-completed-order.php on line 28
I contacted the Woocommerce forum, and they stated: “I think that your problem could be that the WooCommerce templates in your child theme “Tower-Child” are outdated.” However, under my Woocommerce/system status log I do not see this email as being outdated.
I did customize the email (I added some text), which is why it is saved under my child theme. Could that be the issue? It has worked for a long time, so I’m unsure why it is suddenly showing an error (though I imagine it has something to do with an update.) Line 28 of the file is:
“<p><?php printf( __( “Hello – we wanted to let you know that your recent order on %s has been completed. When you receive your order, please”
Can you see the error? If this is only related to Woocommerce and you cannot help me, please let me know. I just wanted to check, since Woocommerce said to contact my theme support.
Rebecca
-
Hello,
Woocommerce has had a big update recently. So it is no wonder that there are major changes in it’s code that will affect the email work.
I can suggest to, first copy once again the file woocommerce/emails/customer-completed-order.php from a newly updated woocommerce plugin folder (make sure it’s the latest version of plugin). And then redo the changes you have made to customize email template.
Save a copy of the current version of the file as backup, in order to always have where to find the changes made.Let us know.
Best regards!
-
-
You must be logged in to reply to this topic.