Answer the question
In order to leave comments, you need to log in
Symfony error Undefined variable: _COOKIE in initial bootstrap.php.cache. What to do?
We have php 7.1.5 , Symfony 2.7 (originally developed under php 5.3)
The project worked for a week and then crashed.
Notice: Undefined variable: _COOKIE in D:\dev\ntb\app\bootstrap.php.cache on line 493
Fatal error: Uncaught TypeError: Argument 4 passed to Symfony\Component\HttpFoundation\Request::createRequestFromFactory() must be of the type array, null given,
$request = self::createRequestFromFactory($_GET, $_POST, array(), $_COOKIE, $_FILES, $server);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question