• Resolved webmaster1234

    (@webmaster1234)


    2022-09-04T00:15:55+00:00 CRITICAL Uncaught Error: Call to a member function get_billing_hash() on null in /nas/content/live/website/wp-content/plugins/woocommerce-square/includes/Framework/PaymentGateway/Payment_Gateway_Direct.php:366
    Stack trace:
    #0 /nas/content/live/website/wp-content/plugins/woocommerce-square/includes/Framework/PaymentGateway/Payment_Gateway_Direct.php(267): WooCommerce\Square\Framework\PaymentGateway\Payment_Gateway_Direct->update_transaction_payment_method(Object(Automattic\WooCommerce\Admin\Overrides\Order))
    #1 /nas/content/live/website/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(971): WooCommerce\Square\Framework\PaymentGateway\Payment_Gateway_Direct->process_payment(65844)
    #2 /nas/content/live/website/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1186): WC_Checkout->process_order_payment(65844, 'square_credit_c...')
    #3 /nas/content/live/website/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(466): WC_Checkout->process_checkout()
    #4 /nas/content in /nas/content/live/website/wp-content/plugins/woocommerce-square/includes/Framework/PaymentGateway/Payment_Gateway_Direct.php on line 366
    
    2022-09-04T00:17:00+00:00 CRITICAL Uncaught Error: Call to a member function get_billing_hash() on null in /nas/content/live/website/wp-content/plugins/woocommerce-square/includes/Framework/PaymentGateway/Payment_Gateway_Direct.php:366
    Stack trace:
    #0 /nas/content/live/website/wp-content/plugins/woocommerce-square/includes/Framework/PaymentGateway/Payment_Gateway_Direct.php(267): WooCommerce\Square\Framework\PaymentGateway\Payment_Gateway_Direct->update_transaction_payment_method(Object(Automattic\WooCommerce\Admin\Overrides\Order))
    #1 /nas/content/live/website/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(971): WooCommerce\Square\Framework\PaymentGateway\Payment_Gateway_Direct->process_payment(65844)
    #2 /nas/content/live/website/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1186): WC_Checkout->process_order_payment(65844, 'square_credit_c...')
    #3 /nas/content/live/website/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(466): WC_Checkout->process_checkout()
    #4 /nas/content in /nas/content/live/website/wp-content/plugins/woocommerce-square/includes/Framework/PaymentGateway/Payment_Gateway_Direct.php on line 366
Viewing 1 replies (of 1 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi @webmaster1234,

    Thanks for reporting that error.

    As a first step, you will want to do a conflict test to see if the error is caused by a plugin/theme conflict with WooCommerce Square. That means leaving only WooCommerce and Square enabled along with a default theme like Storefront.

    Here are the steps for doing a conflict test:

    https://docs.woocommerce.com/document/how-to-test-for-conflicts/

    If the above doesn’t help, please share a copy of your site’s System Status so we can take a look at your configuration. You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.

    Let us know how it goes.

Viewing 1 replies (of 1 total)
  • The topic ‘CRITICAL Uncaught Error Square 3.1.0’ is closed to new replies.