• Resolved orangewhip

    (@orangewhip)


    I’m getting an error when I go to checkout on an order.

    It sends the confirmation email, but the website itself gets this error when it tries to redirect to the thankyou page.

    This is what it says in the WooCommerce->Status->Logs

    2020-06-20T00:25:04+00:00 CRITICAL Uncaught Error: Call to undefined method Automattic\WooCommerce\Admin\Overrides\Order::get_billingesc_html_email() in /home1/whipster/capcityarcade.com/wp-content/themes/materialis-pro/woocommerce/checkout/thankyou.php:54
    Stack trace:
    #0 /home1/whipster/capcityarcade.com/wp-content/plugins/woocommerce/includes/wc-core-functions.php(251): include()
    #1 /home1/whipster/capcityarcade.com/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(257): wc_get_template(‘checkout/thanky…’, Array)
    #2 /home1/whipster/capcityarcade.com/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(63): WC_Shortcode_Checkout::order_received(608)
    #3 /home1/whipster/capcityarcade.com/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Checkout::output(”)
    #4 /home1/whipster/capcityarcade.com/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(95): WC_Shortcodes::shortcode_wrapper(Array, ”)
    #5 /home1/whipster/capcityarcade.com/wp-inclu in /home1/whipster/capcityarcade.com/wp-content/themes/materialis-pro/woocommerce/checkout/thankyou.php on line 54

Viewing 3 replies - 1 through 3 (of 3 total)
  • Luminus Alabi

    (@luminus)

    Automattic Happiness Engineer

    Hi @orangewhip,

    It looks like your theme is overriding the thank you template and in doing so is calling a function that does not exist.

    I’d recommend reaching out to the developers of the theme to see if there’s an update available or if they’d be able to help you fix the issue.

    Otherwise, you may want to consider looking for a different theme.

    As a test, you can temporarily switch your theme to the Storefront theme and test again to see if this issue is still there.

    If the issue is resolved by switching the theme, then that is concrete proof that the theme is the culprit.

    Thread Starter orangewhip

    (@orangewhip)

    Thanks for the reply… I will post it on the plug-in forum. Cheers!

    Luminus Alabi

    (@luminus)

    Automattic Happiness Engineer

    You’re welcome @orangewhip.

    I’m going to mark this as resolved now. If you have any further questions, you can start a new thread.

    Cheers

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Getting an Error after checkout on thank you page’ is closed to new replies.