• Resolved teddysky88

    (@teddysky88)


    Hi

    I’m a web designer who manages the shop site.

    I’m having problems with woocommerce background email error
    I parmanently deleted my order while sending a customer refund email.
    the program couldn’t get get_billing_email();, and the customer refund email is stuck.
    How can I solve this problem?

    please help to stop this error.

    Error code is below
    ——————————————

    CRITICAL Uncaught Error: Call to a member function get_billing_email() on bool in /public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-refunded-order.php:163
    Stack trace:
    #0 /public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-refunded-order.php(136): WC_Email_Customer_Refunded_Order->trigger(21205, false, 21206)
    #1 /public_html/wp-includes/class-wp-hook.php(292): WC_Email_Customer_Refunded_Order->trigger_full(21205, 21206)
    #2 /public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(”, Array)
    #3 /public_html/wp-includes/plugin.php(551): WP_Hook->do_action(Array)
    #4 /public_html/wp-content/plugins/woocommerce/includes/class-wc-emails.php(155): do_action_ref_array(‘woocommerce_ord…’, Array)
    #5 /public_html/wp-content/plugins/woocommerce/includes/class-wc-background-emailer.php(60): WC_Email: /public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-refunded-order.php 163`

    ———————————————————

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support con

    (@conschneider)

    Engineer

    Hi there,

    I parmanently deleted my order while sending a customer refund email.
    the program couldn’t get get_billing_email();, and the customer refund email is stuck.
    How can I solve this problem?

    Based on what you say and the error message I am assuming that the missing order (link) might be the cause of this. If you can still restore the order from the bin, I would try this.

    If the order is gone, I would delete the mail. Then recreate the order manually if necessary and resend the mail. Or I would delete the mail and send a manual mail instead and make a note of the incident somewhere in case it pops up again.

    Kind regards,

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Since it’s been a while since we last heard back from you, I’m going to mark this thread resolved.

    Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

    Cheers! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘After deleted order get_billing_email error’ is closed to new replies.