Ajax – FastCgi problem and Site Health: “Active PHP session detected”
-
I have encountered some problems with Ajax, NGIX reports me this error message:
/home/myvideoimage/public_html/wp-includes/wp-db.php on line 1999 “while reading response header from upstream, client: 93.38.118.232, server: myvideoimage.com, request:” POST / wp-admin / admin- ajax.php HTTP / 1.1 “, upstream:” fastcgi: // unix: /var/php-nginx/15972212415753.sock/socket: “, host:” myvideoimage.com “, referrer:” https://myvideoimage.com /? page_id = 23731 & et_fb = 1 & et_bfb = 1 & PageSpeed ??= off ”
I tried to bring the PHP memory to 512MB but the problem persists.
I tried to disable the plugins but the problem persists.In the “Site Health” section of WordPress I read the following warnings:
1- “An active PHP session detected”
A PHP session was created by a call to the session_start () function. 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
Performance
REST APIs are the way WordPress, and other applications, communicate with the server. One example is the block editor screen, which depends on the REST API to view and save your articles and pages.The request to the REST API failed due to an error.
Error: cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes received (http_request_failed) ”3- “Your site could not complete a loopback request
Performance
Loopback requests are used to trigger scheduled events, and are also used by the included editors for themes and plugins to verify code stability.The loopback request to your site was not successful, this means that the features that depend on it are not working properly.
Error: cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes received (http_request_failed) ”Do you have any idea how to fix the reported problems?
Server data:
NGINX
PHP 7.4.10
WordPress 5.5.1Thank you.
- The topic ‘Ajax – FastCgi problem and Site Health: “Active PHP session detected”’ is closed to new replies.