Support » Plugin: Preview E-mails for WooCommerce » Fatal Error

  • Resolved renan_santos

    (@renan_santos)


    Latest WP and Woocommerce.
    I cannot preview any email. I receive this error:

    Fatal error: Uncaught Error:
    Call to a member function has_downloadable_item() on null in website/wp-content/plugins/woocommerce/includes/class-wc-emails.php:354

    Stack trace:

    #0 website/wp-includes/class-wp-hook.php(286): WC_Emails->order_downloads(NULL, false, false, Object(WETCCompletedOrder))

    #1 website/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)

    #2 website/wp-includes/plugin.php(453): WP_Hook->do_action(Array)

    #3 website/wp-content/plugins/woocommerce/templates/emails/customer-completed-order.php(38): do_action(‘woocommerce_ema…’, NULL, false, false, Object(WETCCompletedOrder))

    #4 website/wp-content/plugins/woocommerce/includes/wc-core-functions.php(209): include(‘/Volumes/Renan …’)

    #5 /Volumes/Renan in website/wp-content/plugins/woocommerce/includes/class-wc-emails.php on line 354

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error’ is closed to new replies.