• 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
    
    • This topic was modified 4 years, 4 months ago by Yui. Reason: please use CODE button for code formatting
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter orangewhip

    (@orangewhip)

    Here is the debug.log file:

    
    [23-Jun-2020 23:08:35 UTC] order_total was called incorrectly. Order properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action('wc_ajax_checkout'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WPHEKA_Gateway_Moneris->process_payment, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
    [23-Jun-2020 23:08:39 UTC] PHP Fatal error:  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(730)
    #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
    
    • This reply was modified 4 years, 4 months ago by Yui. Reason: please use CODE button for proper formatting

    Hello,

    For support for pro version please contact the author at [email protected] or using the site contact form https://extendthemes.com/materialis/#support

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