get_cart was called incorrectly Errors since 2.5.0
-
Hi there,
Since installing 2.5.0 I am getting this error:
PHP message: get_cart was called incorrectly. Get cart should not be called before the wp_loaded action. Backtrace: require('wp-blog-header.php'), 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, WC_Braintree->maybe_init_apple_pay, SkyVerge\\WooCommerce\\PluginFramework\\v5_10_5\\SV_WC_Payment_Gateway_Plugin->maybe_init_apple_pay, WC_Braintree->build_apple_pay_instance, SkyVerge\\WooCommerce\\PluginFramework\\v5_10_5\\SV_WC_Payment_Gateway_Apple_Pay->__construct, SkyVerge\\WooCommerce\\PluginFramework\\v5_10_5\\SV_WC_Payment_Gateway_Apple_Pay->is_available, SkyVerge\\WooCommerce\\PluginFramework\\v5_10_5\\Payment_Gateway\\External_Checkout\\External_Checkout->is_available, SkyVerge\\WooCommerce\\PluginFramework\\v5_10_5\\SV_WC_Payment_Gateway_Apple_Pay->get_accepted_currencies, SkyVerge\\WooCommerce\\PluginFramework\\v5_10_5\\Payment_Gateway\\External_Checkout\\External_Checkout->get_processing_gateway, SkyVerge\\WooComm...
I do not use Apple Pay.
Would appreciate a fix.
Jason
- The topic ‘get_cart was called incorrectly Errors since 2.5.0’ is closed to new replies.