Title: PHP critical error session_start()
Last modified: May 16, 2022

---

# PHP critical error session_start()

 *  Resolved [Sol Aveiro](https://wordpress.org/support/users/soarveca/)
 * (@soarveca)
 * [4 years ago](https://wordpress.org/support/topic/php-critical-error-session_start-2/)
 * Hello!
    In site health, I get this error and it’s caused by this plugin 🙁 Stock
   Notifier for WooCommerce
 * “A PHP session has been created by the call to the session_start() function. 
   This interferes with the REST API and return requests. The session should be 
   closed by session_write_close() before making any HTTP requests”
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-critical-error-session_start-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [toukirwpdev](https://wordpress.org/support/users/toukirwpdev/)
 * (@toukirwpdev)
 * [4 years ago](https://wordpress.org/support/topic/php-critical-error-session_start-2/#post-15653316)
 * Thanks for reporting. We already found the issue and assign it to our developer.
   Hopefully, we’ll fix it on our next release.
 *  Plugin Support [toukirwpdev](https://wordpress.org/support/users/toukirwpdev/)
 * (@toukirwpdev)
 * [4 years ago](https://wordpress.org/support/topic/php-critical-error-session_start-2/#post-15672954)
 * We’ve fixed this issue and released a new version. Update to the latest version.
 * Thanks.

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

The topic ‘PHP critical error session_start()’ is closed to new replies.

 * ![](https://ps.w.org/stock-notifier-for-woocommerce/assets/icon-256x256.png?rev
   =2946914)
 * [Back in Stock Notifier for WooCommerce by WPPOOL](https://wordpress.org/plugins/stock-notifier-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/stock-notifier-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/stock-notifier-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/stock-notifier-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stock-notifier-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stock-notifier-for-woocommerce/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [toukirwpdev](https://wordpress.org/support/users/toukirwpdev/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/php-critical-error-session_start-2/#post-15672954)
 * Status: resolved