Title: PHP Notice: Undefined variable: _SESSION
Last modified: November 22, 2019

---

# PHP Notice: Undefined variable: _SESSION

 *  Resolved [Adendum](https://wordpress.org/support/users/adendum/)
 * (@adendum)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-_session/)
 * My server engineers are suggesting that this error is the cause of intermittent“
   There has been a critical error…” message and intermittent white screens of death…..
 * [22-Nov-2019 13:16:06 UTC] PHP Notice: Undefined variable: _SESSION in /home/
   XXXXX/public_html/XXXXXXXXXXX/wp-content/plugins/wordpress-simple-paypal-shopping-
   cart/wp_shopping_cart.php on line 167
 * Is there an update I am missing or a fix I can implement?

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

 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-_session/#post-12165585)
 * Thank you for reporting this PHP notice. I have submitted a message to the developers
   to investigate further your findings.
 * Kind regards
 *  Plugin Author [mra13 / Team Tips and Tricks HQ](https://wordpress.org/support/users/mra13/)
 * (@mra13)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-_session/#post-12166000)
 * If the PHP session is not starting then this issue will happen. So the main issue
   lies with the PHP session not working correctly in this site.
 *  Thread Starter [Adendum](https://wordpress.org/support/users/adendum/)
 * (@adendum)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-_session/#post-12167216)
 * So what does that actually mean?
 * There isn’t an issue with the server or PHP because I just installed WooCommerce
   and set up the same products, payments etc and everything is working fine.
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-_session/#post-12217527)
 * Hi, have you managed to resolve your issue?
    -  This reply was modified 6 years, 5 months ago by [mbrsolution](https://wordpress.org/support/users/mbrsolution/).
 *  Thread Starter [Adendum](https://wordpress.org/support/users/adendum/)
 * (@adendum)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-_session/#post-12217777)
 * Yes – by uninstalling WordPress Simple PayPal Shopping Cart and installing WooCommerce.

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

The topic ‘PHP Notice: Undefined variable: _SESSION’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-simple-paypal-shopping-cart/assets/icon-128x128.
   png?rev=2722490)
 * [Simple Shopping Cart](https://wordpress.org/plugins/wordpress-simple-paypal-shopping-cart/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-simple-paypal-shopping-cart/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-simple-paypal-shopping-cart/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-simple-paypal-shopping-cart/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-simple-paypal-shopping-cart/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-simple-paypal-shopping-cart/reviews/)

## Tags

 * [php-error](https://wordpress.org/support/topic-tag/php-error/)
 * [session](https://wordpress.org/support/topic-tag/session/)

 * 5 replies
 * 3 participants
 * Last reply from: [Adendum](https://wordpress.org/support/users/adendum/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-_session/#post-12217777)
 * Status: resolved