WooCommerce sending emails to old orders
-
Today WooCommerce has created notes to customers on dozens of old orders from the past 12 months and earlier and emailed them to those customers.
The emails all have the same format:
Your order has been despatched via Royal Mail Tracked 48.
Your tracking number is AB123456789GB.
Your order can be tracked here: https://www.royalmail.com/portal/rm/track?trackNumber=AB123456789GB.The tracking number is the correct number for the order they placed.
Today I received two orders and processed them in the normal way including adding tracking information. For some reason this seems to have triggered all the other emails as the times on those emails match one I processed the new orders.
-
Hi @sandym2014!
Are you using a plugin to handle shipping and send tracking numbers?
To further check into this, kindly provide us the following:
- Your System Status: You can find it via
WooCommerce > Status
. Select ‘Get system report’ and then ‘Copy for support’. Once you do this, paste in here your response. - Fatal Error Log: Share a copy of any fatal error log found under
WooCommerce > System Status > Logs
(if available).
Thanks!
Hi, Thanks for the quick reply. I use Advanced Shipment Tracking for WooCommerce by Zorem to add the tracking Information.
Logs: There are no logs under WooCommerce -> Status -> Logs
The system status report:
### WordPress Environment ###
WordPress address (URL): https://trinitywoodart.co.uk
Site address (URL): https://trinitywoodart.co.uk
WC Version: 6.1.0
REST API Version: ? 6.1.0
WC Blocks Version: ? 6.5.1
Action Scheduler Version: ? 3.4.0
WC Admin Version: ? 3.0.3
Log Directory Writable: ?
WP Version: 5.8.3
WP Multisite: –
WP Memory Limit: 768 MB
WP Debug Mode: –
WP Cron: ?
Language: en_US
External object cache: –### Server Environment ###
Server Info: Apache
PHP Version: 7.4.27
PHP Post Max Size: 256 MB
PHP Time Limit: 120
PHP Max Input Vars: 3000
cURL Version: 7.66.0
OpenSSL/1.1.1l-fipsSUHOSIN Installed: –
MySQL Version: 5.7.32-35-log
Max Upload Size: 256 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ?
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ?### Database ###
WC Database Version: 5.5.2
WC Database Prefix: wp_
Total Database Size: 18.74MB
Database Data Size: 13.79MB
Database Index Size: 4.95MB
wp_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_woocommerce_order_items: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_order_itemmeta: Data: 0.41MB + Index: 0.27MB + Engine InnoDB
wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_actions: Data: 1.52MB + Index: 0.50MB + Engine InnoDB
wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_logs: Data: 0.38MB + Index: 0.23MB + Engine InnoDB
wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_comments: Data: 0.36MB + Index: 0.31MB + Engine InnoDB
wp_failed_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_options: Data: 2.16MB + Index: 0.14MB + Engine InnoDB
wp_postmeta: Data: 3.52MB + Index: 1.91MB + Engine InnoDB
wp_posts: Data: 0.47MB + Index: 0.20MB + Engine InnoDB
wp_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_sgs_log_events: Data: 2.02MB + Index: 0.00MB + Engine InnoDB
wp_sgs_log_visitors: Data: 0.14MB + Index: 0.00MB + Engine InnoDB
wp_shipment_batch_process: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_stock_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_usermeta: Data: 0.16MB + Index: 0.14MB + Engine InnoDB
wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_customer_lookup: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_order_product_lookup: Data: 0.06MB + Index: 0.06MB + Engine InnoDB
wp_wc_order_stats: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woo_shippment_provider: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_yoast_indexable: Data: 0.19MB + Index: 0.13MB + Engine InnoDB
wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_yoast_seo_meta: Data: 0.22MB + Index: 0.00MB + Engine InnoDB### Post Type Counts ###
attachment: 448
custom_order_status: 1
nav_menu_item: 12
oembed_cache: 3
page: 12
post: 1
product: 58
product_variation: 44
revision: 49
shop_order: 248
shop_order_refund: 2
wafs: 1
wpforms: 1### Security ###
Secure connection (HTTPS): ?
Hide errors from visitors: ?### Active Plugins (20) ###
Custom Order Status for WooCommerce: by Tyche Softwares – 2.0.3
Facebook for WooCommerce: by Facebook – 2.6.8
Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 8.3.0
Jetpack: by Automattic – 10.5
My Custom Functions: by Space X-Chimp – 4.51
SiteGround Optimizer: by SiteGround – 6.0.5
SiteGround Security: by SiteGround – 1.1.3
Advanced Shipment Tracking for WooCommerce: by zorem – 3.3.1
Extra Product Options (Product Addons) for WooCommerce: by ThemeHigh – 3.0.9
WPC Product Bundles for WooCommerce (Premium): by WPClever – 6.0.4
Woo Store Vacation: by MyPreview – 1.4.3
WooCommerce Admin: by WooCommerce – 3.0.3
WooCommerce Advanced Free Shipping: by Jeroen Sormani – 1.1.4
WooCommerce PayPal Payments: by WooCommerce – 1.6.4
WooCommerce PDF Invoices & Packing Slips: by WP Overnight – 2.11.4
WooCommerce Shipping & Tax: by WooCommerce – 1.25.20
Stock Manager for WooCommerce: by StoreApps – 2.8.3
WooCommerce: by Automattic – 6.1.0
Yoast SEO: by Team Yoast – 17.9
WPForms Lite: by WPForms – 1.7.2### Inactive Plugins (1) ###
WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.3
### Settings ###
API Enabled: –
Force SSL: –
Currency: GBP (£)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)
woosb (woosb)Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)Connected to WooCommerce.com: –
### WC Pages ###
Shop base: #8 – /index.php/shop/
Cart: #9 – /index.php/cart/
Checkout: #10 – /index.php/checkout/
My account: #27 – /index.php/my-account/
Terms and conditions: #83 – /index.php/terms-and-conditions/### Theme ###
Name: Storefront
Version: 3.9.1
Author URL: https://woocommerce.com/
Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
WooCommerce Support: ?### Templates ###
Overrides: –
### WooCommerce PayPal Payments ###
Onboarded: ?
Shop country code: GB
WooCommerce currency supported: ?
PayPal card processing available in country: ?
Pay Later messaging available in country: ?
Webhook status: ?
Vault enabled: ?
Logging enabled: –
Reference Transactions: –
Used PayPal Checkout plugin: ?### Action Scheduler ###
Complete: 1,621
Oldest: 2021-12-16 14:59:55 +0000
Newest: 2022-01-15 08:34:05 +0000Pending: 10
Oldest: 2022-01-15 09:11:55 +0000
Newest: 2022-01-22 06:25:59 +0000### Status report information ###
Generated at: 2022-01-15 09:12:04 +00:00
Hello there,
Thanks for sending this information. May I ask did you perform any action on the site before WooCommerce sent these emails? Any update?
To check much better, please provide the following:
Error Log
: Share a copy of any fatal error log found under WooCommerce > System Status > Logs (if available).Hi,
No I didn’t do anything apart from process the new orders by adding the tracking information which also sets the order to shipped.
I’ve checked under WooCommerce -> Status -> Logs and there are no logs saved.
Hello,
Emails are sent according to the setup under WooCommerce > settings > Emails. Unless there is a bug or plugin conflict.
By default, a customer receives the Order Processing email when payment is received, or Order On Hold for payment methods such as “bank transfer”. Also once the order is completed, the customer should get the Completed order email.
How did you add the tracking information to the orders? Was this made using another plugin?
Let us know.
I use the plugin Advanced Shipment Tracking for WooCommerce to add tracking information.
In order to seek to resolve this and to know if it happens again I have now installed the WP Mail Logging plugin so I can track all sent emails. I have also now removed the Advanced Shipment Tracking for WooCommerce plugin as I think this may have caused the problem.
Hi @sandym2014
… installed the WP Mail Logging plugin so I can track all sent emails. … removed the Advanced Shipment Tracking for WooCommerce plugin as I think this may have caused the problem.
Great! Those were good steps taken.
If the issue surfaces again, please let us know.
It’s been a while since we heard from you, so I’m marking this thread resolved.
If you have further questions, please feel free to open a new topic.
- Your System Status: You can find it via
- The topic ‘WooCommerce sending emails to old orders’ is closed to new replies.