Latest update causes fatal error
-
We regularly update the plugins on my client sites for security.
This plugin was updated 1 hour ago, and we just updated it on site; however when clicking on WooCommerce in the Wp Dashboard, we receive the infamous ‘there has been a critical error on this site’ notice.
Enabling debug gives me the following error:
Fatal error: Uncaught Error: Call to a member function get_cart() on null in /var/www/vhosts/mainwaringsfishing.co.uk/httpdocs/wp-content/plugins/trust-payments-gateway-3ds2/classes/class-wc-tp-gateway.php:1360 Stack trace: #0 /var/www/vhosts/mainwaringsfishing.co.uk/httpdocs/wp-content/plugins/trust-payments-gateway-3ds2/classes/class-wc-tp-gateway.php(93): WC_TP_Gateway->update_payment_address_details() #1 /var/www/vhosts/mainwaringsfishing.co.uk/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(97): WC_TP_Gateway->__construct() #2 /var/www/vhosts/mainwaringsfishing.co.uk/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(70): WC_Payment_Gateways->init() #3 /var/www/vhosts/mainwaringsfishing.co.uk/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(43): WC_Payment_Gateways->__construct() #4 /var/www/vhosts/mainwaringsfishing.co.uk/httpdocs/wp-content/plugins/woocommerce/includes/class-woocommerce.php(932): WC_Payment_Gateways::instance() in /var/www/vhosts/mainwaringsfishing.co.uk/httpdocs/wp-content/plugins/trust-payments-gateway-3ds2/classes/class-wc-tp-gateway.php on line 1360
Can this be resolved ASAP, as currently my client cannot access their order dashboard.
- The topic ‘Latest update causes fatal error’ is closed to new replies.