We're working on updating to Magento 2.3.6-p1. Everything runs and builds properly, but we're getting an error report as well as an error logged in our System.log.
The error it's throwing is in line 630 of /vendor/magento/framework/Session/SessionManager.php
report.ERROR: Failed to set ini option "session.cookie_samesite" to value "Lax".
Here's the Method:
private function initIniOptions()
{
$result = ini_set('session.use_only_cookies', '1');
if ($result === false) {
$error = error_get_last();
throw new \InvalidArgumentException(
sprintf('Failed to set ini option session.use_only_cookies to value 1. %s', $error['message'])
);
}
foreach ($this->sessionConfig->getOptions() as $option => $value) {
if ($option=='session.save_handler') {
continue;
} else {
$result = ini_set($option, $value);
if ($result === false) {
$error = error_get_last();
throw new \InvalidArgumentException(
sprintf('Failed to set ini option "%s" to value "%s". %s', $option, $value, $error['message'])
);
}
}
}
}
Has anyone run into this yet?