[resolved] Error after session ends (3 posts)

  1. Bolder Elements
    Posted 2 years 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


  2. Bolder Elements
    Posted 2 years 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
    Posted 2 years 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
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.