CRITICAL Uncaught Error: Call to a member function get_cart() on null
-
Hi,
it seems there is a bug when
–woocommerce-conditional-shipping-and-payments
–woocommerce-gateway-amazon-payments-advanced
are both enabled.
Any idea?
CRITICAL Uncaught Error: Call to a member function get_cart() on null in [....]/wp-content/plugins/woocommerce-conditional-shipping-and-payments/includes/restrictions/class-wccsp-restrict-payment-gateways.php:392 Stack trace: #0 [....]/wp-content/plugins/woocommerce-conditional-shipping-and-payments/includes/restrictions/class-wccsp-restrict-payment-gateways.php(302): WC_CSP_Restrict_Payment_Gateways->exclude_payment_gateways(Array, true) #1 [....]/wp-includes/class-wp-hook.php(292): WC_CSP_Restrict_Payment_Gateways->init_amazon_payments(true) #2 [....]/wp-includes/plugin.php(212): WP_Hook->apply_filters(true, Array) #3 [....]/wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/woocommerce-gateway-amazon-payments-advanced.php(422): apply_filters('woocommerce_ama...', true) #4 [....]/wp-includes/class-wp-hook.php(292): WC_Am in [....]/wp-content/plugins/woocommerce-conditional-shipping-and-payments/includes/restrictions/class-wccsp-restrict-payment-gateways.php alla riga 392
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘CRITICAL Uncaught Error: Call to a member function get_cart() on null’ is closed to new replies.