Error with Amazon Pay Plugin After Last Update
-
After the most recent update, we were no longer able to put items in the cart, This is the error message we are seeing in the logs:
get_cart was called incorrectly. Get cart should not be called before the wp_loaded action. Backtrace: require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, WooCommerce->init, do_action('woocommerce_init'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Amazon_Payments_Advanced->init, WC_Amazon_Payments_Advanced->init_gateway, WC_Gateway_Amazon_Payments_Advanced_Abstract->gateway_settings_init, WC_Payment_Gateway->init_settings, WC_Settings_API->init_settings, WC_Gateway_Amazon_Payments_Advanced_Abstract->get_form_fields, WC_Gateway_Amazon_Payments_Advanced_Abstract->has_other_gateways_enabled, WC_Payment_Gateways->get_available_payment_gateways, apply_filters('woocommerce_available_payment_gateways'), WP_Hook->apply_filters, WooCommerce\Square\Gateway->filter_available_gateways, WooCommerce\Square\Gateway\Gift_Card::cart_contains_gift_card, WC_Cart->get_cart, wc_doing_it_wrong. This message was added in version 2.3.
The topic ‘Error with Amazon Pay Plugin After Last Update’ is closed to new replies.