• Resolved tdechangy

    (@tdechangy)


    When trying to send my first invoices from any order page it loads a page with a plain text piece of content from the invoice (header etc.).
    Here is the fatal error I receive from the WooCommerce journal :

    2018-11-13T14:06:49+00:00 CRITICAL Uncaught Error: Using $this when not in object context in /Applications/MAMP/htdocs/Lemaitre/wp-content/plugins/woocommerce/templates/emails/plain/customer-invoice.php:37
    Stack trace:
    #0 /Applications/MAMP/htdocs/Lemaitre/wp-content/plugins/woocommerce/includes/wc-core-functions.php(208): include()
    #1 /Applications/MAMP/htdocs/Lemaitre/wp-content/plugins/woocommerce/includes/wc-core-functions.php(228): wc_get_template(’emails/plain/cu…’, Array, ”, ”)
    #2 /Applications/MAMP/htdocs/Lemaitre/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-invoice.php(165): wc_get_template_html(’emails/plain/cu…’, Array)
    #3 /Applications/MAMP/htdocs/Lemaitre/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(502): WC_Email_Customer_Invoice->get_content_plain()
    #4 /Applications/MAMP/htdocs/Lemaitre/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-invoice.php(130): WC_Email->get_content()
    #5 /Applications/MAMP/htdocs/Lemaitre/wp-content/plugins/woocommerce/includes/cl in /Applications/MAMP/htdocs/Lemaitre/wp-content/plugins/woocommerce/templates/emails/plain/customer-invoice.php on line 37

    • This topic was modified 6 years ago by tdechangy.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Invoice sending error’ is closed to new replies.