• Our error logs are filling up with this:

    [22-Oct-2025 09:54:27 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, WooCommerce->init, wc_load_cart, WooCommerce->initialize_session, WC_Session_Handler->init, WC_Session_Handler->init_session, WC_Session_Handler->init_session_cookie, WC_Session_Handler->destroy_session, WC_Session_Handler->forget_session, wc_empty_cart, WC_Cart->empty_cart, do_action(‘woocommerce_cart_emptied’), WP_Hook->do_action, WP_Hook->apply_filters, Send_App\Modules\Woocommerce\Integrations\Cart->on_cart_emptied, Send_App\Modules\Woocommerce\Classes\Cart_Helper::prepare_cart_data, WC_Cart->get_cart_contents_count, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, WC_Cart->calculate_totals, WC_Cart_Session->set_session, WC_Cart_Session->get_cart_for_session, WC_Cart->get_cart, wc_doing_it_wrong. This message was added in version 2.3.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.