Are cookies necessary for REST and loopback checks?
-
Hi,
I am trying to find out why the REST and loopback checks are failing on my new VPS (curl error 28). After some debugging, I came to the conclusion that this is caused by the PHPSESSID cookie for some reason. I hardcoded unset($cookies[‘PHPSESSID’]); before the two checks in wp-admin/includes/class-wp-site-health.php and now the tests are passed.
Why do you use cookies in these checks and is my website impacted in any way? I do not see anything wrong except for these checks, and this is 100% server related since I moved my website today to new VPS and these were OK on the old host.
CentOS 7.7
PHP 7.3
OpenLitespeed
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Are cookies necessary for REST and loopback checks?’ is closed to new replies.