Issue when using with latest WC, WP,
-
when i activate this plugin, i received these errors in my php_error log file
[01-Dec-2020 08:02:25 UTC] 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, SkyVerge\WooCommerce\PluginFramework\v5_10_0\SV_WC_Payment_Gateway_Plugin->maybe_init_google_pay, SkyVerge\WooCommerce\PluginFramework\v5_10_0\SV_WC_Payment_Gateway_Plugin->build_google_pay_instance, SkyVerge\WooCommerce\PluginFramework\v5_10_0\Payment_Gateway\External_Checkout\Google_Pay\Google_Pay->__construct, SkyVerge\WooCommerce\PluginFramework\v5_10_0\Payment_Gateway\External_Checkout\External_Checkout->is_available, SkyVerge\WooCommerce\PluginFramework\v5_10_0\Payment_Gateway\External_Checkout\Google_Pay\Google_Pay->get_accepted_currencies, SkyVerge\WooCommerce\PluginFramework\v5_10_0\Payment_Gateway\External_Checkout\External_Checkout->get_processing_gateway, SkyVerge\WooCommerce\PluginFramework\v5_10_0\Payment_Gateway\External_Checkout\External_Checkout->get_supporting_gateways, WC_Payment_Gateways->get_available_payment_gateways, apply_filters(‘woocommerce_available_payment_gateways’), WP_Hook->apply_filters, Woo_Wallet_Frontend->woocommerce_available_payment_gateways, is_wallet_rechargeable_cart, WC_Cart->get_cart, wc_doing_it_wrong. This message was added in version 2.3.
The topic ‘Issue when using with latest WC, WP,’ is closed to new replies.