Support » Fixing WordPress » An active PHP session was detected, The REST API encountered an error

  • tonimadex


    Hello, i got several errors after upgrading my wordpress to 5.5.
    After much troubleshooting, it came down to these errors. Worst thing is i have lost all traffic and first page positions.
    Following errors:

    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.

    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)

    Loopback requests are used to run scheduled events, and are also used by the built-in editors for themes and plugins to verify code stability.

    The loopback request to your site failed, this means features relying on them are not currently working as expected.
    Error: cURL error 28: Operation timed out after 10000 milliseconds with 0 bytes received (http_request_failed)

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • tarhe


    Hello @tonimadex

    Some WordPress users are experiencing issues with their Website after updating to WordPress 5.5, This was due to jQuery Migrate which did not shipped with WordPress 5.5 and was suppose to act as a bridge to enable backward compatibility for older code base.

    In my case I installed jQuery Migrate Helper plugin which resolved the issue for me.

    Please let us know if this helps in your case.


Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.