Title: Error after session ends
Last modified: August 21, 2016

---

# Error after session ends

 *  Resolved [Bolder Elements](https://wordpress.org/support/users/hystericallyme/)
 * (@hystericallyme)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/error-after-session-ends/)
 * 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/](https://wordpress.org/plugins/woocommerce/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Bolder Elements](https://wordpress.org/support/users/hystericallyme/)
 * (@hystericallyme)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/error-after-session-ends/#post-4616944)
 * 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!
 *  [Coen Jacobs](https://wordpress.org/support/users/coenjacobs/)
 * (@coenjacobs)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/error-after-session-ends/#post-4616945)
 * Yep, this will be released in the next fix release: v2.1.3.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error after session ends’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Coen Jacobs](https://wordpress.org/support/users/coenjacobs/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/error-after-session-ends/#post-4616945)
 * Status: resolved