REST API and session_start errors
-
My WordPress website’s Site Health Status checker, is detecting the following issues when their plugin is enabled:
- 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.
- 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.
REST API Endpoint: https://iwincontests.com/wp-json/wp/v2/types/post?context=edit
REST API Response: (http_request_failed) cURL error 28: Operation timed out after 10000 milliseconds with 0 bytes receivedhttps://iwincontests.com/
WordPress core: 6.2.2
PHP version: 7.4The page I need help with: [log in to see the link]
- The topic ‘REST API and session_start errors’ is closed to new replies.