Conversation
support1.7.4 fatals on my local test site after upgrading from 1.7.3. I didn’t dive deep, but this appears to be shipping related, and my test site is all virtual products, if that helps. Uncaught TypeError: Cannot assign null to property WPDesk\FlexibleSubscriptions\Utils\SessionContext::$shipping_methods of type array in /srv/htdocs/wp-content/plugins/flexible-subscriptions/src/Utils/SessionContext.php:14 Additional context { "error": { "type": 1, "file": "/srv/htdocs/wp-content/plugins/flexible-subscriptions/src/Utils/SessionContext.php", "line": 14 }, "remote-logging": true, "backtrace": [ "", "#0 /srv/htdocs/wp-content/plugins/flexible-subscriptions/src/HookProvider/Cart/RecurrentCartAdder.php(105): WPDesk\FlexibleSubscriptions\Utils\SessionContext->forge_session()", "#1 /wordpress/core/6.9.1/wp-includes/class-wp-hook.php(341): WPDesk\FlexibleSubscriptions\HookProvider\Cart\RecurrentCartAdder->add_recurrent_items_to_cart(Object(WC_Cart))", "#2 /wordpress/core/6.9.1/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array)", "#3 /wordpress/core/6.9.1/wp-includes/plugin.php(522): WP_Hook->do_action(Array)", "#4 /srv/htdocs/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(879): do_action('woocommerce_cal...', Object(WC_Cart))", "#5 /srv/htdocs/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(150): WC_Cart_Totals->calculate_totals()", "#6 /srv/htdocs/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(138): WC_Cart_Totals->calculate()", "#7 /srv/htdocs/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1493): WC_Cart_Totals->__construct(Object(WC_Cart))", "#8 /srv/htdocs/wp-content/plugins/woocommerce/includes/class-wc-cart-session.php(292): WC_Cart->calculate_totals()", "#9 /wordpress/core/6.9.1/wp-includes/class-wp-hook.php(341): WC_Cart_Session->get_cart_from_session('')", "#10 /wordpress/core/6.9.1/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array)", "#11 /wordpress/core/6.9.1/wp-includes/plugin.php(522): WP_Hook->do_action(Array)", "#12 /wordpress/core/6.9.1/wp-settings.php(764): do_action('wp_loaded')", "#13 /srv/htdocs/wp-config.php(94): require_once('/wordpress/core...')", "#14 /wordpress/core/6.9.1/wp-load.php(55): require_once('/srv/htdocs/wp-...')", "#15 /wordpress/core/6.9.1/wp-admin/admin-ajax.php(22): require_once('/wordpress/core...')", "#16 {main}", "thrown" ] }
Hi,Thank you very much for contacting us. We are working on solving the problem. For now, please restore the previous version of the plugin (1.7.3). You can find it here (at the bottom): https://wordpress.org/plugins/flexible-subscriptions/advanced/ I will contact you when a new version is released that fixes the problem. Best regards,
Hi, a new version of the plugin is now available. I encourage you to update and test whether everything is working properly now. = 1.7.5 - 2026-02-10 = * Fixed critical error on the website when no product are in the cart. I would appreciate your feedback. Best regards,
Thanks! I’ll give it a try.
Works now, thanks!
Hi,Thank you very much for contacting us. We are working on solving the problem. For now, please restore the previous version of the plugin (1.7.3). You can find it here (at the bottom): https://wordpress.org/plugins/flexible-subscriptions/advanced/ I will contact you when a new version is released that fixes the problem. Best regards,
Hi, a new version of the plugin is now available. I encourage you to update and test whether everything is working properly now. = 1.7.5 - 2026-02-10 = * Fixed critical error on the website when no product are in the cart. I would appreciate your feedback. Best regards,
Thanks! I’ll give it a try.
Works now, thanks!