Title: session_start() function call
Last modified: March 20, 2023

---

# session_start() function call

 *  [profanum](https://wordpress.org/support/users/profanum/)
 * (@profanum)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/session_start-function-call/)
 * The plugin generates error on site health monitor:
 * “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.”
 * Also a REST API error:
 * “The REST API is one way WordPress, and other applications, communicate with 
   the server. One example is the block editor screen, which relies on this to display,
   and save, your posts and pages.
 * The REST API request failed due to an error.
   Address: REST API: XXXXXXXwp-json/
   wp/v2/types/post?context=editResponse: REST API: (http_request_failed) cURL error
   28: Operation timed out after 10001 milliseconds with 0 bytes received’

Viewing 1 replies (of 1 total)

 *  Plugin Author [Amin Y](https://wordpress.org/support/users/oscomsupport/)
 * (@oscomsupport)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/session_start-function-call/#post-16579855)
 * Thanks for notifying this, i ve updated a new version with the fix for this, 
   hope this will settle this issue.

Viewing 1 replies (of 1 total)

The topic ‘session_start() function call’ is closed to new replies.

 * ![](https://ps.w.org/agreeme-checkboxes-for-woocommerce/assets/icon-256x256.png?
   rev=2708352)
 * [AgreeMe Checkboxes For WooCommerce](https://wordpress.org/plugins/agreeme-checkboxes-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/agreeme-checkboxes-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/agreeme-checkboxes-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/agreeme-checkboxes-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/agreeme-checkboxes-for-woocommerce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Amin Y](https://wordpress.org/support/users/oscomsupport/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/session_start-function-call/#post-16579855)
 * Status: not resolved