WordPress.org

Forums

WooCommerce - excelling eCommerce
[resolved] Error after session ends (3 posts)

  1. Bolder Elements
    Member
    Posted 1 year ago #

    After WordPress logs me out, I see these two error messages when I try to view a page in my dashboard again. Since I see them, it also cannot redirect to the login page. If I refresh, they go away, but it happens every time my WordPress session ends.

    Notice: Undefined property: WC_Cart::$cart_session_data in /../wp-content/plugins/woocommerce/includes/class-wc-cart.php on line 936
    
    Warning: Invalid argument supplied for foreach() in /../wp-content/plugins/woocommerce/includes/class-wc-cart.php on line 936

    https://wordpress.org/plugins/woocommerce/

  2. Bolder Elements
    Member
    Posted 1 year ago #

    I posted this error on the WooCommerce GitHub page as well and I believe it has been fixed. It was closed out with some changes to the code. Thank you!

  3. Coen Jacobs
    Member
    Posted 1 year ago #

    Yep, this will be released in the next fix release: v2.1.3.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.