• Resolved WaitWhatWeb

    (@waitwhatweb)


    I got this error log..
    since then our website cannot sending email to customer

    I got this error log..
    since then our website cannot sending email to customer

    2018-12-02T10:23:48+00:00 CRITICAL Uncaught Error: Call to a member function format() on null in /srv/users/www/apps/www/public/wp-content/plugins/woocommerce/templates/emails/email-order-details.php:36
    Stack trace:
    #0 /srv/users/www/apps/www/public/wp-content/plugins/woocommerce/includes/wc-core-functions.php(208): include()
    #1 /srv/users/www/apps/www/public/wp-content/plugins/woocommerce/includes/class-wc-emails.php(383): wc_get_template(’emails/email-or…’, Array)
    #2 /srv/users/www/apps/www/public/wp-includes/class-wp-hook.php(286): WC_Emails->order_details(Object(WC_Order), NULL, NULL, NULL)
    #3 /srv/users/www/apps/www/public/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #4 /srv/users/www/apps/www/public/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #5 /srv/users/www/apps/www/public/wp-content/plugins/woocommerce/templates/emails/customer-on-hold-order.php(39): do_action(‘woocommerce_ema…’, Object(WC_Order) in /srv/users/www/apps/www/public/wp-content/plugins/woocommerce/templates/emails/email-order-details.php on line 36

    Please help

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Ryan Ray, a11n

    (@ryanr14)

    Hi there,

    I’m sorry your site currently is having some email issues. it seems the order is missing a time/date stamp and is causing this error.

    Could you please send me a copy of your site’s System Status? You can find it via WooCommerce > Status.
    Select “Get system report” and then “Copy for support”. Once you’ve done that, you can paste it here. It may help provide some clues. ??

    jessepearson

    (@jessepearson)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Additionally, I looked into this and the error should only be received if the order does not have a creation date, which shouldn’t be the case for any orders.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not sending email to customer’ is closed to new replies.