Title: 2 critical errors
Last modified: August 19, 2023

---

# 2 critical errors

 *  Resolved [iliaskanellopoulos](https://wordpress.org/support/users/iliaskanellopoulos/)
 * (@iliaskanellopoulos)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/2-critical-errors/)
 * When i activate the plugin i get two (2) critical errors.
    1. An active PHP session was detected -> 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.
    2. The REST API encountered an error. -> The REST API is one way that WordPress
       and other applications communicate with the server. For example, the block editor
       screen relies on the REST API to display and save your posts and pages. -> When
       testing the REST API, an error was encountered: -> REST API Endpoint: /wp-json/
       wp/v2/types/post?context=edit -> REST API Response: (http_request_failed) cURL
       error 28: Operation timed out after 10001 milliseconds with 0 bytes received

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

 *  Plugin Contributor [David G](https://wordpress.org/support/users/gravid7/)
 * (@gravid7)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/2-critical-errors/#post-16987839)
 * Hi [@iliaskanellopoulos](https://wordpress.org/support/users/iliaskanellopoulos/),
 * Thanks for reaching out to us.
 * Please try the following steps and see if the issue is resolved.
 * Enable Booster > EMAILS & MISC. > General module
   Change the Session Type in Booster
   option as WC Sessions / Standard PHP sessionsEnable Read and Close option
 *  Plugin Contributor [David G](https://wordpress.org/support/users/gravid7/)
 * (@gravid7)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/2-critical-errors/#post-16994141)
 * Hi [@iliaskanellopoulos](https://wordpress.org/support/users/iliaskanellopoulos/),
 * I haven’t heard back from you, so I believe the issue has been resolved. I’m 
   marking this topic complete.
 * please feel free to open a new thread for any further queries or Please send 
   us a reply and we will resume where we left off.

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

The topic ‘2 critical errors’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-jetpack/assets/icon-256x256.png?rev=3351194)
 * [Booster for WooCommerce – PDF Invoices, Abandoned Cart, Variation Swatches & 100+ Tools](https://wordpress.org/plugins/woocommerce-jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-jetpack/reviews/)

## Tags

 * [Booster for WooCommerce](https://wordpress.org/support/topic-tag/booster-for-woocommerce/)
 * [php session](https://wordpress.org/support/topic-tag/php-session/)

 * 2 replies
 * 2 participants
 * Last reply from: [David G](https://wordpress.org/support/users/gravid7/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/2-critical-errors/#post-16994141)
 * Status: resolved