Product Icon

Avalara for WooCommerce

Let agentic AI do the tax work for your WooCommerce store. Avalara automates your compliance tasks for speed, accuracy, and scale.

Fix this error

[14-Nov-2025 17:35:24 UTC] 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, AutomatticWooCommerceBlocksBlockTypesController->register_blocks, AutomatticWooCommerceBlocksBlockTypesAbstractBlock->__construct, AutomatticWooCommerceBlocksBlockTypesCheckout->initialize, AutomatticWooCommerceBlocksBlockTypesAbstractBlock->initialize, AutomatticWooCommerceBlocksIntegrationsIntegrationRegistry->initialize, do_action(‘woocommerce_blocks_checkout_block_registration’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AvaTax_Loader->{closure}, WC_AvaTax_Frontend->cart_contains_only_virtual_products_with_zero_amount, WC_Cart->is_empty, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, WC_Cart_Session->get_cart_for_session, WC_Cart->get_cart, wc_doing_it_wrong. This message was added in version 2.3.

Author

joebarrettb5a1c2b034

Current Status

Open

Last updated: November 14, 2025

2 comments

Log in to comment on this feature request.

  1. Jonathan Reduker says:

    This error is STILL happening and cluttering our logs

  2. rmprhighlighter says:

    This notice has been filling up our error logs as well.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.