Support » Plugin: WooCommerce Email Test » Doesn’t work with most recent Woocommerce

  • briangelhaus

    (@briangelhaus)



    Doesn’t work with most recent Woocommerce.
    When testing any email you get fatal errors like:

    Fatal error: Call to a member function get_formatted_billing_full_name() on null in /servcer/wp-content/themes/storefront-child/woocommerce/emails/admin-new-order.php on line 38

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author raiserweb

    (@raiserweb)

    Hi @briangelhaus

    That fatal error is showing a file path to a file within your wp theme. This would indicate to me that there is an error with your email templates, NOT this plugin.

    This error you have found is exactly what this plugin is designed for – testing your emails and discovering errors. Please consider re-posting your review.

    Thanks
    Raiserweb

    briangelhaus

    (@briangelhaus)

    You’re right. I now removed my email templates from my theme. But now the fatal error comes from the most recent version of woocommerce and wordpress.

    Fatal error: Call to a member function get_formatted_billing_full_name() on null in /server/wp-content/plugins/woocommerce/templates/emails/admin-new-order.php on line 28

    Plugin Author raiserweb

    (@raiserweb)

    Are there any orders in your woocommerce setup? If not, please create at least 1 order

    briangelhaus

    (@briangelhaus)

    There is 1 order. Order ID #244.
    I go to the email test page, select ID #244
    Click any of the email preview buttons and get the fatal error.

    Plugin Author raiserweb

    (@raiserweb)

    Please kindly edit this review from 1 star, since the issue was not related to this plugin

    I can confirm the original briangelhaus’s original comment here. When previewing an email, the plugin does throw a Fatal Error which does NOT occur when an email is generated to the customer.

    i.e. PHP Fatal error: Uncaught Error: Call to a member function has_downloadable_item() on boolean in …./woocommerce/includes/class-wc-emails.php:368

    This is without heavy template customisations, using WC3.3.5 plus WC Bookings/Deposits plugins enabled, if that’s of help.

    steainsworth

    (@steainsworth)

    I also get the error while previewing but the generated email works fine.

    Plugin Author raiserweb

    (@raiserweb)

    Hi @steainsworth

    What WP and Woo versions are you using please?

    I cannot recreate this bug

    Thanks
    Raiserweb

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this review.