The TerraWallet plugin is throwing hundreds of errors per minute.
All are as follows:
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, Automattic\WooCommerce\Blocks\BlockTypesController->register_blocks, Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->__construct, Automattic\WooCommerce\Blocks\BlockTypes\Checkout->initialize, Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->initialize, Automattic\WooCommerce\Blocks\BlockTypes\Checkout->register_block_type_assets, Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->register_block_type_assets, Automattic\WooCommerce\Blocks\Assets\Api->register_script, apply_filters(‘woocommerce_blocks_register_script_dependencies’), WP_Hook->apply_filters, Automattic\WooCommerce\Blocks\Payments\Api->add_payment_method_script_dependencies, Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry->get_all_active_payment_method_script_dependencies, Automattic\WooCommerce\Blocks\Payments\Integrations\AbstractPaymentMethodType->get_payment_method_script_handles_for_admin, WC_Authnet_Blocks_Support->get_payment_method_script_handles, WC_Authnet_Blocks_Support->get_gateway_javascript_params, 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.
If I deactivate the plugin the errors go away.
Do you know what is causing this and how it can be corrected?