PHP session and API connection issues
-
The site that utilizes this plugin to connect to Your Membership has been causing some issues. I’ve tested this with the default WordPress theme and will all plugins deactivated except for this one. When this plugin is deactivated, the issues no longer exist.
Per site health:
– 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 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: https://website.com/wp-json/wp/v2/types/post?context=edit
REST API Response: (http_request_failed) cURL error 28: Operation timed out after 10002 milliseconds with 0 bytes received
We have a few functions that interact with the WordPress Rest API and this plugin seems to be interfering with that. I’m not sure when this issue arose but it could possibly be a conflict with one of the recent versions of WordPress. Any suggestions to resolve this issues would be greatly appreciated.WordPress and all plugins utilized are updated to their latest versions.
- You must be logged in to reply to this topic.