Title: WooCommerce creates a PHP error
Last modified: May 31, 2022

---

# WooCommerce creates a PHP error

 *  Resolved [vikabub](https://wordpress.org/support/users/vikabub/)
 * (@vikabub)
 * [4 years ago](https://wordpress.org/support/topic/woocommerce-creates-a-php-error/)
 * Hi, seems like Woocommerce is creating 2 errors for me:
 * 1. **An active PHP session was detected**
    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.
 * 2. **The REST API encountered an 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.
    Error: cURL error 28: Operation
   timed out after 10001 milliseconds with 0 bytes received (http_request_failed)
 * 3. **A scheduled event is late**
    The scheduled event, woocommerce_cleanup_personal_data,
   is late to run. Your site still works, but this may indicate that scheduling 
   posts or automated updates may not work as intended.
 * Can I please get advice on these? My site still runs like normal but I don’t 
   want problems down the line. Will this be addressed in an update or do I need
   to do anything?
 * Thank you.
    -  This topic was modified 4 years ago by [vikabub](https://wordpress.org/support/users/vikabub/).

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

 *  [Daniel Munene N.](https://wordpress.org/support/users/danndumia/)
 * (@danndumia)
 * [4 years ago](https://wordpress.org/support/topic/woocommerce-creates-a-php-error/#post-15694646)
 * Hi [@vikabub](https://wordpress.org/support/users/vikabub/)
 * > Will this be addressed in an update or do I need to do anything?
 * Often this would occur if you have conflicting plugins. Could you perform a quick
   conflict test; here is the instruction on how to do one: [https://woocommerce.com/document/how-to-test-for-conflicts/](https://woocommerce.com/document/how-to-test-for-conflicts/)?
 * If the issue persists, could you please share a copy of your site’s System Status?
 * You can find it via** WooCommerce > Status**. Select “Get system report” and 
   then “Copy for support”.  Once you’ve done that, paste it here in your response.
 * Thanks
 *  Thread Starter [vikabub](https://wordpress.org/support/users/vikabub/)
 * (@vikabub)
 * [4 years ago](https://wordpress.org/support/topic/woocommerce-creates-a-php-error/#post-15695358)
 * Hi,
 * It was indeed a plugin, one of my main ones, actually. Really annoying, I’ll 
   be onto their support.
 * Thank you
 *  [Margaret S. woo-hc](https://wordpress.org/support/users/margaretwporg/)
 * (@margaretwporg)
 * [4 years ago](https://wordpress.org/support/topic/woocommerce-creates-a-php-error/#post-15695379)
 * Hi [@vikabub](https://wordpress.org/support/users/vikabub/)
 * Glad to hear you could catch the culprit. 🙂
 * > I’ll be onto their support
 * Perfect! That sounds like a plan.
 * As further assistance is to be provided by that plugin’s team, I’ll go ahead 
   and mark this thread as resolved.
 * Feel free to create a new topic if you have other questions.
 * Cheers

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

The topic ‘WooCommerce creates a PHP error’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Margaret S. woo-hc](https://wordpress.org/support/users/margaretwporg/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/woocommerce-creates-a-php-error/#post-15695379)
 * Status: resolved