Error: Trying to get property ‘total’ of non-object
-
Hi,
It seems your plugin conflicts with the Braintree plugin. I receive this PHP error:
{key: "", type: "notice", message: "Trying to get property 'total' of non-object", file: "wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-payment-gateway.php", line: 270, …} component: "Plugin: woocommerce" file: "wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-payment-gateway.php" key: "" line: 270 message: "Trying to get property 'total' of non-object" stack: Array(12) 0: "WC_Payment_Gateway->get_order_total()" 1: "WC_Gateway_Clearpay->is_available()" 2: "WC_Payment_Gateways->get_available_payment_gateways()" 3: "SkyVerge\\W\\P\\v\\P\\E\\External_Checkout->get_supporting_gateways()" 4: "SkyVerge\\W\\P\\v\\P\\E\\External_Checkout->get_processing_gateway()" 5: "SkyVerge\\W\\P\\v\\P\\E\\External_Checkout->init()" 6: "SkyVerge\\W\\P\\v\\P\\E\\External_Checkout->__construct()" 7: "SkyVerge\\W\\P\\v\\SV_WC_Payment_Gateway_Apple_Pay->__construct()" 8: "WC_Braintree->build_apple_pay_instance()" 9: "SkyVerge\\W\\P\\v\\SV_WC_Payment_Gateway_Plugin->maybe_init_apple_pay()" 10: "WC_Braintree->maybe_init_apple_pay()" 11: "do_action('wp_loaded')" length: 12 Prototype: Array(0) type: "notice"
`
This error disappears when the clearpay plugin is disabled.
Any advice on how to resolve this?
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Error: Trying to get property ‘total’ of non-object’ is closed to new replies.