I found the following error in error_log:
[23-Jun-2022 20:43:07 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, vcvinit, VisualComposer\Application->init, vcevent, VisualComposer\Framework\Illuminate\Events\Dispatcher->fire, VisualComposer\Framework\Illuminate\Container\Container->call, VisualComposer\Modules\System\Ajax\Controller->VisualComposer\Helpers\Traits\{closure}, VisualComposer\Framework\Container->call, ReflectionMethod->invokeArgs, VisualComposer\Modules\System\Ajax\Controller->listenAjax, VisualComposer\Framework\Container->call, ReflectionMethod->invokeArgs, VisualComposer\Modules\System\Ajax\Controller->parseRequest, VisualComposer\Framework\Container->call, ReflectionMethod->invokeArgs, VisualComposer\Modules\System\Ajax\Controller->getResponse, vcfilter, VisualComposer\Framework\Illuminate\Filters\Dispatcher->fire, VisualComposer\Framework\Illuminate\Container\Container->call, VisualComposer\Modules\Elements\AjaxShortcode\Controller->VisualComposer\Helpers\Traits\{closure}, VisualComposer\Framework\Container->call, ReflectionMethod->invokeArgs, VisualComposer\Modules\Elements\AjaxShortcode\Controller->render, do_shortcode, preg_replace_callback, do_shortcode_tag, WC_Shortcodes::cart, WC_Shortcodes::shortcode_wrapper, WC_Shortcode_Cart::output, wc_get_template, include('/plugins/woocommerce/templates/cart/cart.php'), do_action('woocommerce_cart_collaterals'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_cart_totals, wc_get_template, include('/plugins/woocommerce/templates/cart/cart-totals.php'), do_action('woocommerce_cart_totals_before_shipping'), WP_Hook->do_action, WP_Hook->apply_filters, Alg_WC_Left_To_Free_Shipping_Core->show_left_to_free_shipping_info_cart, Alg_WC_Left_To_Free_Shipping_Core->get_left_to_free_shipping, WC_Cart->is_empty, WC_Cart->get_cart, wc_doing_it_wrong. This message was added in version 2.3.