• Resolved localfindonline

    (@localfindonline)


    Hello,

    Emails are not sending from Woocommerce when a customer makes an order or when I try to manually send an email invoice. When I try to do it manually from the admin dashboard, I get a critical error on the site. Here is the error:

    Uncaught Error: Call to a member function trigger() on null in /home/dh_raeysp/localfindonline.com/wp-content/plugins/woocommerce/includes/class-wc-emails.php:374 Stack trace: #0 /home/dh_raeysp/localfindonline.com/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-actions.php(105): WC_Emails->customer_invoice(Object(Automattic\WooCommerce\Admin\Overrides\Order)) #1 /home/dh_raeysp/localfindonline.com/wp-includes/class-wp-hook.php(287): WC_Meta_Box_Order_Actions::save(5591, Object(WP_Post)) #2 /home/dh_raeysp/localfindonline.com/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #3 /home/dh_raeysp/localfindonline.com/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #4 /home/dh_raeysp/localfindonline.com/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php(220): do_action('woocommerce_pro...', 5591, Object(WP_Post)) #5 /home/dh_raeysp/localfindonline.com/wp-includes/class-wp-hook.php(289): WC_Admin_Meta_Boxes->save_meta_boxes(5591, in /home/dh_raeysp/localfindonline.com/wp-content/plugins/woocommerce/includes/class-wc-emails.php on line 374

    It looks like the order or order number is not making into the call to the trigger method.

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Nico

    (@nicolamustone)

    Automattic Happiness Engineer

    Hello there,
    This kind of problem is usually caused by a conflict with your theme or with another plugin.
    ?
    The best way to determine this is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    Plugin Support abwaita a11n

    (@abwaita)

    Hi @localfindonline,

    We’ve not heard back from you in a while, so I’m marking this thread as 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.

    Thanks.

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