Confirmation mail is missing ordered products
-
New orders on my website are normaly in WordPress Dashboard (Woocommerce > orders). In new confirmation mails are missing the products visitors have ordered. Not only the details, but the whole product lines er missing, including visitors’ details (Actually the whole body). Only the header with image, ‘Thanks for your order’-message and the footer-text is visible.
I already have done a conflict test:
– Changing theme to twenty-twenty
– Deactivating all of the plugins except WooCommerce
– Of course both, WordPress and WooCommerce are up-to-dateUnfortunately this made no difference.
Does anyone have any idea what this could be related to?
-
Hello,
Does this issue happen to all order confirmation emails? If it happens randomly, can you check if those orders have anything in common such as same product, payment method etc..?
To take a further look, please provide the following:
Screenshot of an example order email: I recommend https://snipboard.io for easily sharing screenshots – please follow the instructions on the page, then paste the URL in this chat. It works with Chrome, Firefox, Safari, and Edge.
System Status: You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.
Error log: share a copy of the fatal error log found under WooCommerce > System Status > Logs (if available)
Hi maykato,
This happens to all order confirmation emails.
Hereby a screenshot link: https://snipboard.io/IsKtyk.jpg
Fatal error log#1
2021-11-26T10:59:03+00:00 CRITICAL Cannot redeclare filter_created_pages() (previously declared in /data/www/ikbrenghetzelf.nl/www/wp-content/plugins/woocommerce/includes/wc-update-functions.php:2281) in /data/www/ikbrenghetzelf.nl/www/wp-content/plugins/woocommerce/includes/wc-update-functions.php op de lijn 2281Fatal error log#2
2021-11-30T12:19:59+00:00 CRITICAL Uncaught Error: Attempt to modify property "response" on null in /data/www/ikbrenghetzelf.nl/staging/wp-content/plugins/jet-blocks/includes/modules/jet-dashboard/inc/plugin-manager.php:313 Stack trace: #0 /data/www/ikbrenghetzelf.nl/staging/wp-includes/class-wp-hook.php(305): Jet_Dashboard\Plugin_Manager->check_update() #1 /data/www/ikbrenghetzelf.nl/staging/wp-includes/plugin.php(189): WP_Hook->apply_filters() #2 /data/www/ikbrenghetzelf.nl/staging/wp-includes/option.php(1977): apply_filters() #3 /data/www/ikbrenghetzelf.nl/staging/wp-content/plugins/jet-blocks/includes/modules/jet-dashboard/inc/license-manager.php(123): set_site_transient() #4 /data/www/ikbrenghetzelf.nl/staging/wp-includes/class-wp-hook.php(303): Jet_Dashboard\License_Manager->jet_license_action() #5 /data/www/ikbrenghetzelf.nl/staging/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters() #6 /data/www/ikbrenghetzelf.nl/staging/wp-includes/plugin.php(470): WP_Hook->do_action() #7 /data/www/ikbrenghetzelf.nl/staging/wp-admin/admin-ajax.php(187): do_action() #8 {main} thrown in /data/www/ikbrenghetzelf.nl/staging/wp-content/plugins/jet-blocks/includes/modules/jet-dashboard/inc/plugin-manager.php op de lijn 313System Report:
### WordPress Environment ### WordPress address (URL): https://staging.ikbrenghetzelf.nl Site address (URL): https://staging.ikbrenghetzelf.nl WC Version: 5.9.0 REST API Version: ✔ 5.9.0 WC Blocks Version: ✔ 6.1.0 Action Scheduler Version: ✔ 3.3.0 WC Admin Version: ✔ 2.8.0 Log Directory Writable: ✔ WP Version: 5.8.2 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ✔ Language: nl_NL External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 8.0.12 PHP Post Max Size: 256 MB PHP Time Limit: 180 PHP Max Input Vars: 3500 cURL Version: 7.61.1 OpenSSL/1.1.1l SUHOSIN Installed: – MySQL Version: 5.5.5-10.5.13-MariaDB-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.6.0 WC Database Prefix: wp_wordpress_ Totale databasegrootte: 138.87MB Database datagrootte: 128.62MB Database index grootte: 10.25MB wp_wordpress_woocommerce_sessions: Data: 0.03MB + Index: 0.02MB + Engine InnoDB wp_wordpress_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wordpress_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wordpress_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wordpress_woocommerce_order_items: Data: 0.22MB + Index: 0.09MB + Engine InnoDB wp_wordpress_woocommerce_order_itemmeta: Data: 2.52MB + Index: 3.03MB + Engine InnoDB wp_wordpress_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wordpress_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wordpress_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wordpress_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wordpress_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wordpress_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wordpress_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wordpress_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wordpress_actionscheduler_actions: Data: 0.02MB + Index: 0.13MB + Engine InnoDB wp_wordpress_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wordpress_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wordpress_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wordpress_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wordpress_comments: Data: 0.38MB + Index: 0.41MB + Engine InnoDB wp_wordpress_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB wp_wordpress_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_wordpress_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wordpress_jet_apartment_bookings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wordpress_jet_apartment_units: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wordpress_jet_appointments: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wordpress_jet_appointments_excluded: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wordpress_jet_post_types: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wordpress_jet_taxonomies: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wordpress_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wordpress_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wordpress_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wordpress_mollie_pending_payment: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wordpress_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wordpress_options: Data: 4.48MB + Index: 0.09MB + Engine InnoDB wp_wordpress_postmeta: Data: 22.52MB + Index: 4.03MB + Engine InnoDB wp_wordpress_posts: Data: 88.52MB + Index: 0.28MB + Engine InnoDB wp_wordpress_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wordpress_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wordpress_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wordpress_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wordpress_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wordpress_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wordpress_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wordpress_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_wordpress_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wordpress_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wordpress_wc_customer_lookup: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_wordpress_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wordpress_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wordpress_wc_order_product_lookup: Data: 0.25MB + Index: 0.25MB + Engine InnoDB wp_wordpress_wc_order_stats: Data: 0.08MB + Index: 0.05MB + Engine InnoDB wp_wordpress_wc_order_tax_lookup: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_wordpress_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wordpress_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wordpress_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wordpress_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wordpress_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wordpress_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wordpress_wfconfig: Data: 0.48MB + Index: 0.00MB + Engine InnoDB wp_wordpress_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wordpress_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wordpress_wffilemods: Data: 4.52MB + Index: 0.00MB + Engine InnoDB wp_wordpress_wfhits: Data: 0.14MB + Index: 0.05MB + Engine InnoDB wp_wordpress_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wordpress_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wordpress_wfknownfilelist: Data: 2.52MB + Index: 0.00MB + Engine InnoDB wp_wordpress_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wordpress_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wordpress_wflogins: Data: 0.44MB + Index: 0.14MB + Engine InnoDB wp_wordpress_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wordpress_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wordpress_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wordpress_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wordpress_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wordpress_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wordpress_wfstatus: Data: 0.14MB + Index: 0.11MB + Engine InnoDB wp_wordpress_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### attachment: 82 customize_changeset: 2 elementor_library: 8 jet-engine: 3 jet-engine-booking: 3 jet-theme-core: 4 jet-woo-builder: 3 nav_menu_item: 6 page: 11 post: 3 product: 25 revision: 641 shop_order: 556 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (1) ### WooCommerce: door Automattic – 5.9.0 ### Inactive Plugins (20) ### Crocoblock Wizard: door Crocoblock – 1.0.1 Direct Checkout for WooCommerce: door QuadLayers – 2.5.6 Elementor: door Elementor.com – 3.4.8 Elementor Pro: door Elementor.com – 3.5.1 JetBlocks For Elementor: door Crocoblock – 1.2.10 JetElements For Elementor: door Crocoblock – 2.6.1 JetEngine: door Crocoblock – 2.10.1 JetThemeCore: door Crocoblock – 1.2.2 JetTricks: door Crocoblock – 1.3.8 JetWooBuilder For Elementor: door Crocoblock – 1.11.2 Loco Translate: door Tim Whitlock – 2.5.5 Mollie Payments for WooCommerce: door Mollie – 6.7.0 Post Duplicator: door Metaphor Creations – 2.23 PublishPress Capabilities: door PublishPress – 2.3 PW WooCommerce Bulk Edit: door Pimwick LLC – 2.92 Vevida Optimizer: door Jan Vlastuin Jan Reilink Brian Stal – 1.4 W3 Total Cache: door BoldGrid – 2.2.0 WooCommerce Delivery & Pickup Date Time Pro: door CodeRockz – 1.3.68 WooCommerce Direct Checkout PRO: door QuadLayers – 2.3.9 Wordfence Security: door Wordfence – 7.5.7 ### Settings ### API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) 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 ### Winkelbasis: #1871 - /winkel/ Winkelwagen: #5 - /cart/ Afrekenen: #6 - /checkout/ Mijn account: #7 - /my-account/ Algemene voorwaarden: ❌ Pagina niet ingesteld ### Theme ### Name: Twenty Twenty Version: 1.8 Author URL: https://wordpress.org/ Child Theme: ❌ – Als je wijzigingen aanbrengt in WooCommerce of in een hoofdthema dat je niet zelf gebouwd hebt raden we het gebruik van een sub-thema aan. Zie: Hoe maak je een sub-thema WooCommerce Support: ✔ ### Templates ### Overrides: – ### Action Scheduler ### Afgerond: 61 Oldest: 2021-11-26 15:26:12 +0100 Newest: 2021-11-30 15:16:00 +0100 Mislukt: 1 Oldest: 2021-11-26 11:59:03 +0100 Newest: 2021-11-26 11:59:03 +0100 ### Status report information ### Generated at: 2021-11-30 15:16:25 +01:00Thank you for providing more details. I see that your database version is 5.6.0 which doesn’t match your WooCommerce version. I’d recommend taking a site backup, and update your database under WooCommerce > Status > Tools to see if that fixes the issue.
Hi @maykato
Thank you for recommending.
When I click on updating database I got the message ‘Routine database upgrade is scheduled to run in the background’. I am not for sure how long such an upgrade will take, but it is unclear when it’s finished. I clicked on it a couple of hours ago.
I could imagine that this will make a difference. However System of WooCommerce is saying it is normally that the database version could be different from the WooCommerce Core. In that case it should not make any difference.
I have tried plugin ‘WP Mail Logging’ to check if WooCommerce is sending it in the right way. Those logs are presenting the mail exactly like it should be (like I have created in WooCommerce > Email). I tend to think that it something has to do with server settings.
How do you think about my thoughts?
Hi @maykato
The problem is caused by the PHP version (8). Setting it back to 7.4 solved the problem in this case.
Many thanks for supporting my encountered problem.
You’re welcome! Thanks for letting us know that setting the PHP version to 7.4 got this sorted.
I’m marking this thread as resolved. If you have further questions, feel free to create a new thread.
The topic ‘Confirmation mail is missing ordered products’ is closed to new replies.