• Resolved vikabub

    (@vikabub)


    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 2 years, 6 months ago by vikabub.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @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/?

    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

    (@vikabub)

    Hi,

    It was indeed a plugin, one of my main ones, actually. Really annoying, I’ll be onto their support.

    Thank you

    Hi @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.