Support » Plugin: WooCommerce » Order emails not triggering but can manually resend them

  • Resolved t00lz

    (@t00lz)


    Hi,

    I’ve been working through all the solutions I can find here; however, none are fixing my problems.

    Woocommerce is not triggering notification emails (they are not shown in the WP Mail Log).

    I’ve tried disabling all the plugins, several smtp plugins (latest is easy wp smtp) and all other emails are sending except this.

    There are no error messages on the site to debug. Any ideas how to fix this one?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Mike Jolley

    (@mikejolley)

    Check server error logs for clues.

    Also ensure you don’t have WP Cron disabled.

    I’ve cleared all the server errors, wordpress errors there’s nothing I can find to get clues. I’ve even tried different php versions. Here is my system stats from woocommerce:

    
    ### WordPress Environment ###
    
    Home URL: http://**************.com
    Site URL: http://**************.com
    WC Version: 3.0.0
    Log Directory Writable: ✔
    WP Version: 4.7.3
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: ✔
    WP Cron: ✔
    Language: en_CA
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 5.6.29
    PHP Post Max Size: 64 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.24.0
    OpenSSL/1.0.0
    
    SUHOSIN Installed: –
    MySQL Version: 5.6.32
    Max Upload Size: 64 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.0.0
    WC Database Prefix: wp_
    woocommerce_sessions: ✔
    woocommerce_api_keys: ✔
    woocommerce_attribute_taxonomies: ✔
    woocommerce_downloadable_product_permissions: ✔
    woocommerce_order_items: ✔
    woocommerce_order_itemmeta: ✔
    woocommerce_tax_rates: ✔
    woocommerce_tax_rate_locations: ✔
    woocommerce_shipping_zones: ✔
    woocommerce_shipping_zone_locations: ✔
    woocommerce_shipping_zone_methods: ✔
    woocommerce_payment_tokens: ✔
    woocommerce_payment_tokenmeta: ✔
    MaxMind GeoIP Database: ❌ The MaxMind GeoIP Database does not exist - Geolocation will not function. You can download and install it manually from http://dev.maxmind.com/geoip/legacy/geolite/ to the path: . Scroll down to "Downloads" and download the "Binary / gzip" file next to "GeoLite Country". Please remember to uncompress GeoIP.dat.gz and upload the GeoIP.dat file only.
    
    ### Security ###
    
    Secure connection (HTTPS): ❌Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
    Hide errors from visitors: ❌Error messages should not be shown to visitors.
    
    ### Active Plugins (6) ###
    
    Advanced Custom Fields: by Elliot Condon – 4.4.11
    Instagram Feed: by Smash Balloon – 1.4.8
    Postman SMTP: by Jason Hendriks – 1.7.2
    Slider Revolution: by ThemePunch – 5.2.4.1
    WooCommerce: by Automattic – 3.0.0
    WP Mail Logging: by Christian Zöller – 1.8.0
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: –
    Currency: CAD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    ### WC Pages ###
    
    Shop base: #4 - /shop/
    Cart: #5 - /cart/
    Checkout: #6 - /checkout/
    My account: #7 - /my-account/
    
    ### Theme ###
    
    Name: Twenty Seventeen
    Version: 1.1
    Author URL: https://wordpress.org/
    Child Theme: ❌ – If you're modifying WooCommerce on a parent theme you didn't build personally
    then we recommend using a child theme. See: How to create a child theme
    
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    

    Thanks for taking a look…

    Plugin Author Mike Jolley

    (@mikejolley)

    In your server error log are there/were there any fatal errors?

    No nothing critical. In fact in case it was my host, I just rebuilt the site from the ground up with a wordpress specific host (getflywheel) to test a fresh install and same issue, with no errors at all.

    The error logs on the new host are clear and here’s the system stats here:

    
    ### WordPress Environment ###
    
    Home URL: http://servantst.flywheelsites.com
    Site URL: http://servantst.flywheelsites.com
    WC Version: 3.0.0
    Log Directory Writable: ✔
    WP Version: 4.7.3
    WP Multisite: –
    WP Memory Limit: 128 MB
    WP Debug Mode: ✔
    WP Cron: ✔
    Language: en_US
    
    ### Server Environment ###
    
    Server Info: Flywheel/4.1.0
    PHP Version: 5.6.30-7+deb.sury.org~xenial+1
    PHP Post Max Size: 300 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 4000
    cURL Version: 7.47.0
    OpenSSL/1.0.2g
    
    SUHOSIN Installed: –
    MySQL Version: 5.6.32
    Max Upload Size: 300 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.0.0
    WC Database Prefix: wp_kzb6fj61cz_
    woocommerce_sessions: ✔
    woocommerce_api_keys: ✔
    woocommerce_attribute_taxonomies: ✔
    woocommerce_downloadable_product_permissions: ✔
    woocommerce_order_items: ✔
    woocommerce_order_itemmeta: ✔
    woocommerce_tax_rates: ✔
    woocommerce_tax_rate_locations: ✔
    woocommerce_shipping_zones: ✔
    woocommerce_shipping_zone_locations: ✔
    woocommerce_shipping_zone_methods: ✔
    woocommerce_payment_tokens: ✔
    woocommerce_payment_tokenmeta: ✔
    MaxMind GeoIP Database: ❌ The MaxMind GeoIP Database does not exist - Geolocation will not function. You can download and install it manually from http://dev.maxmind.com/geoip/legacy/geolite/ to the path: . Scroll down to "Downloads" and download the "Binary / gzip" file next to "GeoLite Country". Please remember to uncompress GeoIP.dat.gz and upload the GeoIP.dat file only.
    
    ### Security ###
    
    Secure connection (HTTPS): ❌Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
    Hide errors from visitors: ❌Error messages should not be shown to visitors.
    
    ### Active Plugins (6) ###
    
    Advanced Custom Fields: by Elliot Condon – 4.4.11
    Instagram Feed: by Smash Balloon – 1.4.8
    Slider Revolution: by ThemePunch – 5.2.4.1
    WooCommerce: by Automattic – 3.0.0
    WordPress Importer: by wordpressdotorg – 0.6.3
    WP Mail Logging: by Christian Zöller – 1.8.0
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: –
    Currency: CAD ($)
    Currency Position: left_space
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    ### WC Pages ###
    
    Shop base: #4 - /shop/
    Cart: #70 - /cart/
    Checkout: #6 - /checkout/
    My account: #7 - /my-account/
    
    ### Theme ###
    
    Name: servant
    Version: 1.0.0
    Author URL: http://tieulie.com
    Child Theme: ❌ – If you're modifying WooCommerce on a parent theme you didn't build personally
    then we recommend using a child theme. See: How to create a child theme
    
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    

    I’m at a loss as to what’s wrong, I have another site on woocommerce 2.5.* and it works fine for emails…

    UPDATE: I have to assume this is a version 3.0 bug

    I have uninstalled the plugin, deleted the database tables for woocommerce 3.0 and then installed woocommerce 2.6.14 and instantly the emails notifications work even without the smtp plugins.

    This might only be an option for fresh installs as you will most likely loose all product/plugin data with this method. Try at your own risk.

    • This reply was modified 3 years, 9 months ago by t00lz.

    I experienced the same thing, i.e., order email notification not triggered, after installing version 3.0.
    I restored my whole website and woocommerce to version 2.6.14 and everything is back to normal, but I lost all the transaction records made after the upgrade to 3.0.

    The same bug here:
    https://wordpress.org/support/topic/woocommerce-not-sending-emails-after-3-0-update/
    I’ve also rollbacked to the previous version and everything is working fine.

    • This reply was modified 3 years, 9 months ago by mashut.
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Order emails not triggering but can manually resend them’ is closed to new replies.