• Resolved frnkoc

    (@frnkoc)


    After the update to 8.5.1 whenever we update a user in the admin user profile page a critical error is produced. The logs show an error with the user id that caused the error but it seems related to woo subscriptions. Reverting the WC version to 8.4 fix the issue.

    2024-01-16T19:12:30+00:00 CRITICAL Uncaught Error: Call to undefined function wc_notice_count() in /~/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/class-wc-subscriptions-addresses.php:146
    Stack trace: 0 /wordpress-versions/6.3.2/wp-includes/class-wp-hook.php(310): WC_Subscriptions_Addresses::maybe_update_subscription_addresses(30374, ‘billing’) 1 /wordpress-versions/6.3.2/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(”, Array) 2 /wordpress-versions/6.3.2/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 3 /dom23850/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-profile.php(243): do_action(‘woocommerce_cus…’, 30374, ‘billing’) 4 /wordpress-versions/6.3.2/wp-includes/class-wp-hook.php(310): WC_Admin_Profile->save_customer_meta_fields(30374) 5 /wordpress-versions/6.3.2/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) 6 /wordpress-versions/6.3.2/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 7 /wordpress-versions/6.3.2/wp-admin/user-edit.php(157): do_action(‘edit_user_profi…’, 30374) 8 {main}

    thrown in /~/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/class-wc-subscriptions-addresses.php on line 146

Viewing 4 replies - 1 through 4 (of 4 total)
  • Same…

    Plugin Support Sandip Mondal – a11n

    (@sandipmondal)

    Hi @frnkoc,

    We have received reports about WooCommerce 8.5.1’s incompatibility with the Stripe extension (version 7.9.0)  and Woo Subscriptions 5.9.0, which causes this fatal error when updating the customer profile:

    PHP Fatal error: Uncaught Error: Call to undefined function wc_add_notice()

    The issue had already been fixed in Stripe 7.9.1 and Woo Subscriptions 5.9.1which was released yesterday and today respectively.

    Please update WooCommerce as well the above extensions (if you have any of them) and the error should go resolved.

    Let us know how it goes!

    As of Thursday, Jan 18, this is still not working on some websites and required a rollback to WC 8.4. Are there any more updates or bugs found?

    Plugin Support Sandip Mondal – a11n

    (@sandipmondal)

    Hi @_dylanpaul.

    If you noticed the below error:

    PHP Fatal error: Uncaught Error: Call to undefined function wc_add_notice()
    

    It should be resolved by updating to Stripe 7.9.1?and?Woo Subscriptions 5.9.1. Are you still seeing the issue with Woo Subscription 5.9.1, WooCommerce 8.5.1, and Stripe 7.9.1?

    If yes, please contact us at Woo.com > My Account > Support.

    Please include a link to this forum thread, so that we can keep track of what’s already been done. We will be able to help you further there with Woo Subscriptions.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Critical Error Updating User WC 8.5.1’ is closed to new replies.