Email attachment not working
-
Hello, how are you? Our developer has told us to get in touch with you because we have a critical issue on our website since two days ago.
We send email with a PDF label attached, which is generated by MyParcel. Since yesterday, the label is not being attached and we tested everything: 1) MyParcel is generating the PDFs and placing them in uploads folder; 2) New order email is being sent; 3) The code looks fine
The developer told me that we cannot attach the pdf to emails due to a faulty WooCommerce hook woocommerce_email_attachments
We tested on our staging from December, the PDFs stopped being attached to the new order email there as well.
Are you please able to assist us as we are unfunctional for two days already
` ### WordPress Environment ### WordPress address (URL): https://verkoopmijntelefoon.nl Site address (URL): https://verkoopmijntelefoon.nl WC Version: 7.3.0 REST API Version: ?</img> 7.3.0 WC Blocks Version: ?</img> 9.1.5 Action Scheduler Version: ?</img> 3.5.2 Log Directory Writable: ?</img> WP Version: 6.1.1 WP Multisite: – WP Memory Limit: 2 GB WP Debug Mode: ?</img> WP Cron: ?</img> Language: en_US External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 7.4.32 PHP Post Max Size: 2 GB PHP Time Limit: 120 PHP Max Input Vars: 5000 cURL Version: 7.71.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 5.5.5-10.5.12-MariaDB-cll-lve Max Upload Size: 2 GB Default Timezone is UTC: ?</img> fsockopen/cURL: ?</img> SoapClient: ?</img> DOMDocument: ?</img> GZip: ?</img> Multibyte String: ?</img> Remote Post: ?</img> Remote Get: ?</img> ### Database ### WC Database Version: 7.3.0 WC Database Prefix: wp_ Total Database Size: 230.13MB Database Data Size: 201.27MB Database Index Size: 28.86MB wp_woocommerce_sessions: Data: 0.06MB + 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.08MB + Index: 0.05MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 1.52MB + Index: 0.58MB + 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.55MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.28MB + Index: 0.17MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 0.50MB + Index: 0.30MB + Engine InnoDB wp_cmplz_cookiebanners: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cmplz_cookies: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_cmplz_services: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.50MB + Index: 0.44MB + Engine InnoDB wp_duplicator_packages: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_eum_logs: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_e_submissions: Data: 0.17MB + Index: 0.31MB + Engine InnoDB wp_e_submissions_actions_log: Data: 0.05MB + Index: 0.11MB + Engine InnoDB wp_e_submissions_values: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_icl_content_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_core_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_languages: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_icl_languages_translations: Data: 0.20MB + Index: 0.17MB + Engine InnoDB wp_icl_locale_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_icl_message_status: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_icl_mo_files_domains: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp_icl_node: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_icl_reminders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_icl_strings: Data: 0.41MB + Index: 0.48MB + Engine InnoDB wp_icl_string_batches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_icl_string_packages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_icl_string_positions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_string_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_string_translations: Data: 0.25MB + Index: 0.11MB + Engine InnoDB wp_icl_translate: Data: 3.52MB + Index: 0.22MB + Engine InnoDB wp_icl_translate_job: Data: 0.08MB + Index: 0.02MB + Engine InnoDB wp_icl_translations: Data: 0.20MB + Index: 0.55MB + Engine InnoDB wp_icl_translation_batches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_icl_translation_downloads: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_icl_translation_status: Data: 5.52MB + Index: 0.05MB + Engine InnoDB wp_jet_smart_filters_indexer: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_litespeed_avatar: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_litespeed_url: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_litespeed_url_file: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_options: Data: 3.52MB + Index: 0.14MB + Engine InnoDB wp_pmxe_exports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxe_google_cats: Data: 0.39MB + Index: 0.00MB + Engine InnoDB wp_pmxe_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxe_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_postmeta: Data: 134.55MB + Index: 9.03MB + Engine InnoDB wp_posts: Data: 24.52MB + Index: 0.64MB + Engine InnoDB wp_redirection_404: Data: 1.52MB + Index: 0.41MB + Engine InnoDB wp_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_redirection_logs: Data: 0.06MB + Index: 0.05MB + Engine InnoDB wp_rednao_wc_invoice: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rednao_wc_invoices_created: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rednao_wc_invoices_custom_field: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_sgs_log_events: Data: 0.22MB + Index: 0.00MB + Engine InnoDB wp_sgs_log_visitors: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_sib_model_contact: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_sib_model_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_sib_model_lang: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_sib_model_users: 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.08MB + Index: 0.05MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 0.27MB + Index: 0.09MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.06MB + 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.08MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.08MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.06MB + 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_wfpklist_template_data: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpr_rocket_cache: Data: 0.05MB + Index: 0.08MB + Engine InnoDB wp_wpr_rucss_used_css: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_wsal_metadata: Data: 9.52MB + Index: 10.06MB + Engine InnoDB wp_wsal_occurrences: Data: 6.52MB + Index: 1.95MB + Engine InnoDB wp_yoast_indexable: Data: 1.52MB + Index: 0.42MB + Engine InnoDB wp_yoast_indexable_hierarchy: Data: 0.06MB + Index: 0.08MB + 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_prominent_words: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_yoast_seo_links: Data: 0.11MB + Index: 0.09MB + Engine InnoDB ### Post Type Counts ### acf-field: 21 acf-field-group: 3 attachment: 892 custom_css: 1 customize_changeset: 1 elementor_library: 44 jet-smart-filters: 7 nav_menu_item: 18 page: 73 post: 13 product: 273 revision: 3378 shop_coupon: 2 shop_order: 597 shop_order_refund: 110 wp_global_styles: 1 wpcode: 2 ### Security ### Secure connection (HTTPS): ?</img> Hide errors from visitors: ?</img> ### Active Plugins (42) ### WPML Multilingual CMS: by OnTheGoSystems – 4.5.14 WPML SEO: by OnTheGoSystems – 2.1.0 ACF QuickEdit Fields: by J?rn Lund – 3.2.1 Advanced Custom Fields Multilingual: by OnTheGoSystems – 1.10.4 Advanced Custom Fields PRO: by WP Engine – 6.0.4 All-in-One WP Migration: by ServMask – 7.68 Complianz | GDPR/CCPA Cookie Consent: by Really Simple Plugins – 6.3.4 Defer WooCommerce emails: by – Duplicator: by Snap Creek – 1.5.0 DynamicConditions: by RTO GmbH – 1.6.0 Elementor Pro: by Elementor.com – 3.7.2 Elementor: by Elementor.com – 3.8.0 Essential Addons for Elementor - Pro: by WPDeveloper – 5.0.1 Essential Addons for Elementor: by WPDeveloper – 5.4.2 Futy.io Leadbots: by Futy – 2.0.5 WPCode Lite: by WPCode – 2.0.6 JetSmartFilters: by Crocoblock – 2.3.12 Loco Translate: by Tim Whitlock – 2.6.2 Newsletter, SMTP, Email marketing and Subscribe forms by Sendinblue: by Sendinblue – 3.1.47 MetroNet Tag Manager: by Ruskin Consulting – 1.5.4 PowerPack Pro for Elementor: by Team IdeaBox - PowerPack Elements – 2.7.5 WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping Labels: by WebToffee – 3.0.4 Reading Time WP: by Jason Yingling – 2.0.12 Really Simple SSL: by Really Simple Plugins – 6.0.12 Redirection: by John Godley – 5.3.4 Simple Custom Post Order: by Colorlib – 2.5.6 Easy Updates Manager: by Easy Updates Manager Team – 9.0.13 TradeTracker.com WooCommerce extension: by TradeTracker.com – 1.1.0 Trustpilot-reviews: by Trustpilot – 2.5.914 YellowPencil Pro: by WaspThemes – 7.5.8 Premmerce Permalink Manager for WooCommerce: by premmerce – 2.3.7 WooCommerce Display Order Count: by SkyVerge – 1.1.0 WooCommerce Google Analytics Integration: by WooCommerce – 1.6.0 WooCommerce Multilingual & Multicurrency: by OnTheGoSystems – 5.0.2 WooCommerce MyParcel: by MyParcel – 4.13.2 WooCommerce: by Automattic – 7.3.0 WordPress Importer: by wordpressdotorg – 0.8 Yoast SEO: by Team Yoast – 20.0 WP Rocket: by WP Media – 3.12.4 WP Activity Log: by WP White Security – 4.4.2.1 WP Sitemap Page: by Tony Archambeau – 1.9.2 WPML String Translation: by OnTheGoSystems – 3.2.3 ### Inactive Plugins (13) ### Akismet Anti-Spam: by Automattic – 5.0.1 Better Search Replace: by Delicious Brains – 1.4.1 GTM4WP: by Thomas Geiger – 1.16.1 Hello Dolly: by Matt Mullenweg – 1.7.2 Hostinger: by Hostinger – 1.0.1 Jetpack: by Automattic – 11.6 LiteSpeed Cache: by LiteSpeed Technologies – 5.3 Mouseflow for WordPress: by Mouseflow – 5.1.2 OTGS Installer: by OnTheGoSystems – 3.0.4 WP All Export - User Export Add-On Pro: by Soflyy – 1.0.7 WP All Export Pro: by Soflyy – 1.8.1 WP All Import - User Import Add-On Pro: by Soflyy – 1.1.8 WP Clean Admin Menu: by P. Roy – 2.0 ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Must Use Plugins (1) ### Elementor Safe Mode: by Elementor.com – 1.0.0 ### Settings ### API Enabled: ?</img> Force SSL: – Currency: EUR (€) Currency Position: left_space 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: – Enforce Approved Product Download Directories: – Order datastore: WC_Order_Data_Store_CPT ### WC Pages ### Shop base: ?</img> Page visibility should be public Cart: #6 - /cart Checkout: #7 - /checkout My account: #8 - /my-account Terms and conditions: ?</img> Page not set ### Theme ### Name: Astra Version: 3.7.7 (update to version 4.0.2 is available) Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme Child Theme: ?</img> – 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: ?</img> ### Templates ### Overrides: astra/woocommerce/archive-product.php astra/woocommerce/cart/cart-item-data.php astra/woocommerce/cart/cart-shipping.php version 3.6.0 is out of date. The core version is 7.3.0 astra/woocommerce/cart/cart.php version 3.8.0 is out of date. The core version is 7.0.1 astra/woocommerce/checkout/form-billing.php astra/woocommerce/checkout/form-checkout.php astra/woocommerce/checkout/form-login.php astra/woocommerce/checkout/form-shipping.php astra/woocommerce/checkout/order-receipt.php astra/woocommerce/checkout/payment.php version 3.5.3 is out of date. The core version is 7.0.1 astra/woocommerce/checkout/review-order.php astra/woocommerce/checkout/terms.php astra/woocommerce/checkout/thankyou.php astra/woocommerce/content-single-product.php astra/woocommerce/emails/admin-cancelled-order.php astra/woocommerce/emails/admin-failed-order.php astra/woocommerce/emails/admin-new-order.php astra/woocommerce/emails/customer-completed-order.php astra/woocommerce/emails/customer-invoice.php astra/woocommerce/emails/customer-new-account.php astra/woocommerce/emails/customer-note.php astra/woocommerce/emails/customer-on-hold-order.php version 3.7.0 is out of date. The core version is 7.3.0 astra/woocommerce/emails/customer-processing-order.php astra/woocommerce/emails/customer-refunded-order.php astra/woocommerce/emails/customer-reset-password.php astra/woocommerce/emails/email-addresses.php astra/woocommerce/emails/email-customer-details.php astra/woocommerce/emails/email-downloads.php astra/woocommerce/emails/email-footer.php astra/woocommerce/emails/email-header.php astra/woocommerce/emails/email-order-details.php astra/woocommerce/emails/email-order-items.php astra/woocommerce/emails/email-styles.php astra/woocommerce/emails/plain/admin-cancelled-order.php astra/woocommerce/emails/plain/admin-failed-order.php astra/woocommerce/emails/plain/admin-new-order.php astra/woocommerce/emails/plain/customer-completed-order.php astra/woocommerce/emails/plain/customer-invoice.php astra/woocommerce/emails/plain/customer-new-account.php astra/woocommerce/emails/plain/customer-note.php astra/woocommerce/emails/plain/customer-on-hold-order.php version 3.7.0 is out of date. The core version is 7.3.0 astra/woocommerce/emails/plain/customer-processing-order.php astra/woocommerce/emails/plain/customer-refunded-order.php astra/woocommerce/emails/plain/customer-reset-password.php astra/woocommerce/emails/plain/email-addresses.php astra/woocommerce/emails/plain/email-customer-details.php astra/woocommerce/emails/plain/email-downloads.php astra/woocommerce/emails/plain/email-order-details.php astra/woocommerce/emails/plain/email-order-items.php astra/woocommerce/order/form-tracking.php version 3.6.0 is out of date. The core version is 7.0.1 astra/woocommerce/order/order-again.php astra/woocommerce/order/order-details-customer.php astra/woocommerce/order/order-details-item.php astra/woocommerce/order/order-details.php astra/woocommerce/order/order-downloads.php astra/woocommerce/order/tracking.php astra/woocommerce/single-product/add-to-cart/simple.php version 3.4.0 is out of date. The core version is 7.0.1 astra/woocommerce/single-product.php Outdated Templates: ?</img> Learn how to update ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing multichannel-marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js new-product-management-experience settings Daily Cron: ?</img> Next scheduled: 2023-02-03 15:11:26 +00:00 Options: ?</img> Notes: 94 Onboarding: completed ### Action Scheduler ### Complete: 2,304 Oldest: 2023-01-03 13:13:01 +0000 Newest: 2023-02-03 12:35:13 +0000 Failed: 1 Oldest: 2023-02-03 11:14:19 +0000 Newest: 2023-02-03 11:14:19 +0000 Pending: 1 Oldest: 2023-02-04 12:35:13 +0000 Newest: 2023-02-04 12:35:13 +0000 ### Status report information ### Generated at: 2023-02-03 13:07:42 +00:00 `
- The topic ‘Email attachment not working’ is closed to new replies.