PHP Fatal error: Uncaught Error: Call to a member function get_cart()
-
Hi there, I have started seeing errors in my PHP log
I am hoping you will be able to advise how best to remediate
– Thanks Keith===================
[03-Sep-2020 21:08:04 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_cart() on null in /home/clairehi/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/class/WC_Gateway_Afterpay.php:294
Stack trace:
#0 /home/clairehi/public_html/wp-includes/class-wp-hook.php(287): WC_Gateway_Afterpay->check_cart_within_limits(Array)
#1 /home/clairehi/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array)
#2 /home/clairehi/public_html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(160): apply_filters(‘woocommerce_ava…’, Array)
#3 /home/clairehi/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Onboarding_Payments.php(36): WC_Payment_Gateways->get_available_payment_gateways()
#4 /home/clairehi/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Notes/NoteTraits.php(74): Automattic\WooCommerce\Admin\Notes\WC_Admin_Notes_Onboarding_Payments::get_note()
#5 /home/clairehi/public_html/wp-content/plugins/woocommerce/packages/wooc in /home/clairehi/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/class/WC_Gateway_Afterpay.php on line 294
[04-Sep-2020 00:13:40 UTC] PHP Warning: Error while sending QUERY packet. PID=50254 in /home/clairehi/public_html/wp-includes/wp-db.php on line 2033
[04-Sep-2020 21:03:31 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_cart() on null in /home/clairehi/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/class/WC_Gateway_Afterpay.php:294
Stack trace:
#0 /home/clairehi/public_html/wp-includes/class-wp-hook.php(287): WC_Gateway_Afterpay->check_cart_within_limits(Array)
#1 /home/clairehi/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array)
#2 /home/clairehi/public_html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(160): apply_filters(‘woocommerce_ava…’, Array)
#3 /home/clairehi/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Onboarding_Payments.php(36): WC_Payment_Gateways->get_available_payment_gateways()
#4 /home/clairehi/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Notes/NoteTraits.php(74): Automattic\WooCommerce\Admin\Notes\WC_Admin_Notes_Onboarding_Payments::get_note()
#5 /home/clairehi/public_html/wp-content/plugins/woocommerce/packages/wooc in /home/clairehi/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/class/WC_Gateway_Afterpay.php on line 294
[05-Sep-2020 00:16:43 UTC] PHP Warning: Error while sending QUERY packet. PID=41096 in /home/clairehi/public_html/wp-includes/wp-db.php on line 2033
[05-Sep-2020 21:16:35 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_cart() on null in /home/clairehi/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/class/WC_Gateway_Afterpay.php:294
Stack trace:
#0 /home/clairehi/public_html/wp-includes/class-wp-hook.php(287): WC_Gateway_Afterpay->check_cart_within_limits(Array)
#1 /home/clairehi/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array)
#2 /home/clairehi/public_html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(160): apply_filters(‘woocommerce_ava…’, Array)
#3 /home/clairehi/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Notes/WC_Admin_Notes_Onboarding_Payments.php(36): WC_Payment_Gateways->get_available_payment_gateways()
#4 /home/clairehi/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Notes/NoteTraits.php(74): Automattic\WooCommerce\Admin\Notes\WC_Admin_Notes_Onboarding_Payments::get_note()
#5 /home/clairehi/public_html/wp-content/plugins/woocommerce/packages/wooc in /home/clairehi/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/class/WC_Gateway_Afterpay.php on line 294
- The topic ‘PHP Fatal error: Uncaught Error: Call to a member function get_cart()’ is closed to new replies.