Title: PHP SESSION INTERFERES WITH REST API
Last modified: March 4, 2021

---

# PHP SESSION INTERFERES WITH REST API

 *  [acbout](https://wordpress.org/support/users/acbout/)
 * (@acbout)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/php-session-interferes-with-rest-api/)
 * Thanks for the plugin! It’s a great contribution!
 * I would like to ask about the following:
 * At site heath, I read the following critical issue related to the plugin:
 * “A PHP session was created by a session_start() function call. This interferes
   with REST API and loopback requests. The session should be closed by session_write_close()
   before making any HTTP requests.”
 * How could that be fixed?
 * Thank you very much for your help!
    Regards

The topic ‘PHP SESSION INTERFERES WITH REST API’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woo-inventory-count_18273e.svg)
 * [WooCommerce POS Inventory Count](https://wordpress.org/plugins/woo-inventory-count/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-inventory-count/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-inventory-count/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-inventory-count/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-inventory-count/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-inventory-count/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [acbout](https://wordpress.org/support/users/acbout/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/php-session-interferes-with-rest-api/)
 * Status: not resolved