Email is not sending out of sudden
-
Hi there,
My plugin suddenly had stopped sending New Order email to Admin for awhile, it used to send whenever we have new order together with invoice pdf attached.
I am just wonder could the unknown halt due to WP Memory Limit that shows in System Configuration section? I am seeing my current status is:
WordPress: 40M, PHP: 768M
but the requirement by the plugin is:
Recommended: 128MB (more for plugin-heavy setups
Appreciate any advice if possible, thank you
Regards,
MZ
-
Hello @mzn001,
Please follow these steps to find out if the issue occurs before the message is sent:
-
? ??
- Install and activate the WP Mail Logging by MailPoet plugin
- Open an existent order, find the Send order email panel, on the right side, select one of the email notification in which you attach the invoice, e.g. Complete order, and click on Save order and send email:
- Then go to Tools > WP Mail Log, find your last email, and check if there are files in the Attachments column, and/or any notice on the Error column:
- Share the results with us ??
On the other hand, to increase the WP Memory Limit, you just need to add this line in your
wp-config.php
file (located in the root directory of your WordPress installation), before the line that says “Happy publishing” (or “Happy Blogging”):/* Increase the WP memory limit to 256MB */ define('WP_MEMORY_LIMIT', '256M');
Let me know if it works ??
Hi again @mzn001,
Could you please provide this extra info:
- Does your site happen to be hosted by SiteGround? If not, could you tell us the name of the hosting provider you’re using?
- Also, go to WooCommerce > Status > System Status, click on Get system report, then click on Copy for support, and finally paste the content in a reply here.
Hi Yordan,
Thank you so much for your swift response! I’ve tried the given steps:
1. I have installed and activated the WP Mail Logging by MailPoet plugin
2 & 3. I have triggered New Order email notification (with one of the existing orders) to Admin email but nothing was sent to our mailbox and nothing was logged in WP Mail Log too. Screenshot: https://imgur.com/LWM8HbT
4. I have amended wp-config.php in my FTP but I am not sure if this was the root cause. I have tried Step#2 and 3 again after this amendment but nothing was sent as well. Screenshot: https://imgur.com/m6VkRNu
5. Yes! I am using SiteGround ??
6.
### WordPress Environment ### WordPress address (URL): https://-----.com Site address (URL): https://-----.com WC Version: 5.6.0 REST API Version: ? 5.6.0 WC Blocks Version: ? 5.8.0 Action Scheduler Version: ? 3.2.1 WC Admin Version: ? 2.5.1 Log Directory Writable: ? WP Version: 5.8.1 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.23 PHP Post Max Size: 256 MB PHP Time Limit: 120 PHP Max Input Vars: 3000 cURL Version: 7.66.0 OpenSSL/1.1.1l-fips SUHOSIN 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.6.0 WC Database Prefix: wpvt_ Total Database Size: 214.99MB Database Data Size: 137.52MB Database Index Size: 77.47MB wpvt_woocommerce_sessions: Data: 5.02MB + Index: 0.08MB + Engine InnoDB wpvt_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpvt_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpvt_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wpvt_woocommerce_order_items: Data: 3.52MB + Index: 1.52MB + Engine InnoDB wpvt_woocommerce_order_itemmeta: Data: 22.56MB + Index: 28.09MB + Engine InnoDB wpvt_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wpvt_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpvt_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpvt_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpvt_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpvt_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpvt_woocommerce_payment_tokenmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wpvt_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB pig_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB pig_comments: Data: 0.02MB + Index: 0.08MB + Engine InnoDB pig_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB pig_options: Data: 0.06MB + Index: 0.03MB + Engine InnoDB pig_postmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB pig_posts: Data: 0.02MB + Index: 0.06MB + Engine InnoDB pig_sgs_log_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB pig_sgs_log_visitors: Data: 0.02MB + Index: 0.00MB + Engine InnoDB pig_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB pig_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB pig_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB pig_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB pig_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB pig_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wpvt_actionscheduler_actions: Data: 0.16MB + Index: 0.20MB + Engine InnoDB wpvt_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpvt_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpvt_actionscheduler_logs: Data: 0.08MB + Index: 0.06MB + Engine InnoDB wpvt_berocket_termmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpvt_categorymeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpvt_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpvt_comments: Data: 5.52MB + Index: 2.38MB + Engine InnoDB wpvt_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpvt_member_catmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpvt_newsletter: Data: 0.14MB + Index: 0.06MB + Engine InnoDB wpvt_newsletter_emails: Data: 7.52MB + Index: 0.00MB + Engine InnoDB wpvt_newsletter_sent: Data: 1.52MB + Index: 1.94MB + Engine InnoDB wpvt_newsletter_stats: Data: 1.52MB + Index: 0.77MB + Engine InnoDB wpvt_newsletter_user_logs: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wpvt_nx_entries: Data: 0.09MB + Index: 0.03MB + Engine InnoDB wpvt_nx_posts: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wpvt_nx_stats: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpvt_options: Data: 6.31MB + Index: 0.23MB + Engine InnoDB wpvt_portfolio_catmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpvt_postmeta: Data: 55.59MB + Index: 33.11MB + Engine InnoDB wpvt_posts: Data: 8.52MB + Index: 2.47MB + Engine InnoDB wpvt_product_catmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpvt_revslider_css: Data: 0.13MB + Index: 0.02MB + Engine InnoDB wpvt_revslider_css_bkp: Data: 0.13MB + Index: 0.00MB + Engine InnoDB wpvt_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpvt_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpvt_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpvt_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpvt_revslider_sliders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpvt_revslider_sliders_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpvt_revslider_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpvt_revslider_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpvt_revslider_static_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpvt_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpvt_termmeta: Data: 0.09MB + Index: 0.13MB + Engine InnoDB wpvt_terms: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wpvt_term_relationships: Data: 0.48MB + Index: 0.27MB + Engine InnoDB wpvt_term_taxonomy: Data: 0.06MB + Index: 0.06MB + Engine InnoDB wpvt_usermeta: Data: 2.52MB + Index: 3.03MB + Engine InnoDB wpvt_users: Data: 0.13MB + Index: 0.08MB + Engine InnoDB wpvt_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpvt_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wpvt_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpvt_wc_category_lookup: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wpvt_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpvt_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpvt_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpvt_wc_order_product_lookup: Data: 0.05MB + Index: 0.06MB + Engine InnoDB wpvt_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wpvt_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpvt_wc_product_meta_lookup: Data: 0.23MB + Index: 0.41MB + Engine InnoDB wpvt_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpvt_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpvt_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpvt_webis_pbet: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpvt_webis_pbet_order: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpvt_webis_pbet_order_item: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpvt_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpvt_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wpvt_wfconfig: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wpvt_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpvt_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpvt_wffilemods: Data: 7.52MB + Index: 0.00MB + Engine InnoDB wpvt_wfhits: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wpvt_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpvt_wfissues: Data: 0.06MB + Index: 0.06MB + Engine InnoDB wpvt_wfknownfilelist: Data: 2.52MB + Index: 0.00MB + Engine InnoDB wpvt_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpvt_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpvt_wflogins: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpvt_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpvt_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpvt_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpvt_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wpvt_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpvt_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wpvt_wfstatus: Data: 0.16MB + Index: 0.11MB + Engine InnoDB wpvt_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpvt_wpml_mails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpvt_yith_wcwl: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wpvt_yith_wcwl_lists: Data: 0.05MB + Index: 0.05MB + Engine InnoDB wpvt_yoast_indexable: Data: 1.52MB + Index: 0.41MB + Engine InnoDB wpvt_yoast_indexable_hierarchy: Data: 0.09MB + Index: 0.16MB + Engine InnoDB wpvt_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpvt_yoast_primary_term: Data: 0.09MB + Index: 0.09MB + Engine InnoDB wpvt_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpvt_yoast_seo_meta: Data: 0.16MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### attachment: 2165 br_sale_report: 1 custom_css: 1 customize_changeset: 9 faq: 10 nav_menu_item: 28 notificationx: 1 page: 26 porto_builder: 22 post: 1 product: 804 product_variation: 6 revision: 743 schema: 2 shop_coupon: 5 shop_order: 5187 shop_order_refund: 47 wpcf7_contact_form: 6 yith_wcan_preset: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (44) ### WooCommerce Advanced Product Labels: by BeRocket – 1.2.3.1 Beeketing For WooCommerce: by Beeketing – 3.8.16 Click to Chat: by HoliThemes – 3.3.10 Contact Form 7: by Takayuki Miyoshi – 5.4.2 Cost of Goods for WooCommerce: by WPFactory – 2.4.7 Disable Comments: by WPDeveloper – 2.1.2 Dynamic Featured Image: by Ankit Pokhrel – 3.7.0 Site Kit by Google: by Google – 1.40.0 Insert Headers and Footers: by WPBeginner – 1.6.0 Intuitive Custom Post Order: by hijiri – 3.1.3 Jetpack: by Automattic – 10.1 WPBakery Page Builder: by Michael M - WPBakery.com – 6.7.0 Newsletter: by Stefano Lissa & The Newsletter Team – 7.2.3 Ni WooCommerce Sales Report: by anzia – 3.5.5 NotificationX: by WPDeveloper – 2.0.2 Porto Theme - Functionality: by P-Themes – 2.1.6 Post Duplicator: by Metaphor Creations – 2.23 Product Batch & Expiration Tracking for WooCommerce: by Webis – 1.5 Product Sales Report for WooCommerce: by Aspen Grove Studios – 1.5.1 Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.5 Slider Revolution: by ThemePunch – 6.5.4 Sales Report for WooCommerce: by BeRocket – 3.5.7.1 Schema: by Hesham – 1.7.9.2 Stock Exporter for WooCommerce: by Webdados – 0.8.2 WC Hide Shipping Methods: by Rynaldo Stoltz – 1.5 Checkout Field Editor for WooCommerce: by ThemeHigh – 1.4.9 Free Shipping Bar for WooCommerce: by VillaTheme – 1.1.4.9 WooCommerce Blocks: by Automattic – 5.8.0 WooCommerce - Store Exporter: by Visser Labs – 2.7 WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.2 (update to version 2.1.3 is available) WooCommerce Stripe Gateway: by WooCommerce – 5.4.1 WooCommerce Google Analytics Integration: by WooCommerce – 1.5.3 WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 2.9.3 WooCommerce: by Automattic – 5.6.0 WooHistory - WooCommerce Order History: by WPSlash – 1.1 Wordfence Security: by Wordfence – 7.5.5 Yoast SEO: by Team Yoast – 17.1 WP Fastest Cache: by Emre Vona – 0.9.3 WP Mail Logging: by Wysija – 1.9.9 WP Sitemap Page: by Tony Archambeau – 1.6.4 WPS Hide Login: by WPServeur NicolasKulka wpformation – 1.8.6 YITH WooCommerce Ajax Product Filter: by YITH – 4.1.1 YITH WooCommerce Ajax Search: by YITH – 1.10.0 YITH WooCommerce Wishlist: by YITH – 3.1.0 ### Inactive Plugins (9) ### Contact Form CFDB7: by Arshid – 1.2.5.9 Flexible Checkout Fields: by WP Desk – 3.0.11 Free shipping notification WooCommerce Pro: by PI Websolution – 1.3.0 Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 7.18.0 PublishPress Capabilities: by PublishPress – 2.2 SiteGround Optimizer: by SiteGround – 5.9.6 SiteGround Security: by SiteGround – 1.1.2 Social Slider Widget: by creativemotion – 1.9.5 WooCommerce Better Usability: by Moises Heberle – 1.0.49 ### Dropin Plugins (1) ### maintenance.php: maintenance.php ### Settings ### API Enabled: – Force SSL: – Currency: SGD ($) 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 ### Shop base: #6 - /shop/ Cart: #7 - /cart/ Checkout: #8 - /checkout/ My account: #9 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: porto-child Version: (update to version 0 is available) Author URL: Child Theme: ? Parent Theme Name: Porto Parent Theme Version: 6.1.8 Parent Theme Author URL: https://www.portotheme.com/ WooCommerce Support: ? ### Templates ### Overrides: porto/woocommerce/archive-product.php porto/woocommerce/cart/cart-empty.php porto/woocommerce/cart/cart-shipping.php porto/woocommerce/cart/cart-totals.php porto/woocommerce/cart/cart.php porto/woocommerce/cart/cross-sells.php porto/woocommerce/cart/mini-cart.php porto/woocommerce/cart/proceed-to-checkout-button.php porto/woocommerce/cart/shipping-calculator.php porto/woocommerce/checkout/form-billing.php porto/woocommerce/checkout/form-checkout.php porto/woocommerce/checkout/form-coupon.php porto/woocommerce/checkout/form-login.php porto/woocommerce/checkout/form-pay.php porto/woocommerce/checkout/form-shipping.php porto/woocommerce/checkout/payment-method.php porto/woocommerce/checkout/payment.php porto/woocommerce/checkout/review-order.php porto/woocommerce/checkout/thankyou.php porto/woocommerce/content-product-cat.php porto/woocommerce/content-product.php porto/woocommerce/content-single-product.php porto/woocommerce/content-widget-product.php porto/woocommerce/global/form-login.php porto/woocommerce/global/quantity-input.php porto/woocommerce/global/wrapper-start.php porto/woocommerce/loop/add-to-cart.php porto/woocommerce/loop/loop-end.php porto/woocommerce/loop/loop-start.php porto/woocommerce/loop/no-products-found.php porto/woocommerce/loop/orderby.php porto/woocommerce/loop/pagination.php porto/woocommerce/loop/rating.php porto/woocommerce/loop/sale-flash.php porto/woocommerce/myaccount/dashboard.php porto/woocommerce/myaccount/downloads.php porto/woocommerce/myaccount/form-add-payment-method.php porto/woocommerce/myaccount/form-edit-account.php porto/woocommerce/myaccount/form-edit-address.php porto/woocommerce/myaccount/form-login.php porto/woocommerce/myaccount/form-lost-password.php porto/woocommerce/myaccount/form-reset-password.php porto/woocommerce/myaccount/lost-password-confirmation.php porto/woocommerce/myaccount/my-account.php porto/woocommerce/myaccount/my-address.php porto/woocommerce/myaccount/my-downloads.php porto/woocommerce/myaccount/my-orders.php porto/woocommerce/myaccount/navigation.php porto/woocommerce/myaccount/orders.php porto/woocommerce/myaccount/payment-methods.php porto/woocommerce/myaccount/view-order.php porto/woocommerce/order/form-tracking.php porto/woocommerce/order/order-details-customer.php porto/woocommerce/order/order-details.php porto/woocommerce/order/order-downloads.php porto/woocommerce/order/tracking.php porto/woocommerce/single-product/add-to-cart/simple.php porto/woocommerce/single-product/add-to-cart/variable.php porto/woocommerce/single-product/meta.php porto/woocommerce/single-product/product-attributes.php porto/woocommerce/single-product/product-image.php porto/woocommerce/single-product/product-thumbnails.php porto/woocommerce/single-product/rating.php porto/woocommerce/single-product/related.php porto/woocommerce/single-product/review-meta.php porto/woocommerce/single-product/review-rating.php porto/woocommerce/single-product/review.php porto/woocommerce/single-product/sale-flash.php porto/woocommerce/single-product/short-description.php porto/woocommerce/single-product/tabs/tabs.php porto/woocommerce/single-product/title.php porto/woocommerce/single-product/up-sells.php porto/woocommerce/single-product-reviews.php ### Action Scheduler ### Complete: 515 Oldest: 2021-09-04 09:25:24 +0000 Newest: 2021-09-18 15:28:00 +0000 Pending: 1 Oldest: 2021-09-19 12:36:15 +0000 Newest: 2021-09-19 12:36:15 +0000 ### Status report information ### Generated at: 2021-09-18 23:36:04 +08:00
Again, thank you very much for your help!! ??
Regards,
MZHi @mzn001,
Could you also check if you get any specific fatal errors or error that start with wpo_wcpdf_ and that have a timestamp that corresponds with the time the email should have been sent?
You can check for errors in your logs via WooCommerce > Status > Logs.
- The topic ‘Email is not sending out of sudden’ is closed to new replies.