I use magento 2.2.6 i have this notice with valiton.php from 2 days, i don't understand why. The message is :
PHP Notice: Undefined index: REQUEST_URI in /var/www/vhosts/bonbonrose.ch/httpdocs/vendor/magento/framework/App/Valitron.php on line 1293
Here the part of code line 1293
if ($this->validateSecureUrl($_SERVER['REQUEST_URI'])) {
$secureKey = 'login';
if (!empty($_POST[$secureKey]) && is_array($_POST[$secureKey])) {
if ($this->executeSecureValidate($_POST[$secureKey])) {
return true;
}
}
Someone know how to fix ?