mercredi 21 mars 2018

Undefined variable _GET and other

Windows - XAMPP - PHP7 - LARAVEL framework

Sometimes I get the error. My PHP does not see superglobal variables.

We are talking about the arrays themselves and not about the indexes in them

I don't know what it is. superglobal variables should always be visible.

[Tue Mar 20 18:55:42.870253 2018] [php7:notice] [pid 20004:tid 4592] [client 10.208.0.138:50632] PHP Notice:  Undefined variable: _COOKIE in C:\\WebDev\\xampp\\htdocs\\portal.ru\\portal\\vendor\\symfony\\http-foundation\\Request.php on line 281, referer: http://dc-test04:8080/processes/add
[Tue Mar 20 18:55:42.870253 2018] [php7:notice] [pid 20004:tid 4592] [client 10.208.0.138:50632] PHP Notice:  Undefined variable: _FILES in C:\\WebDev\\xampp\\htdocs\\portal.ru\\portal\\vendor\\symfony\\http-foundation\\Request.php on line 281, referer: http://dc-test04:8080/processes/add
[Tue Mar 20 18:55:42.870253 2018] [php7:error] [pid 20004:tid 4592] [client 10.208.0.138:50632] PHP Fatal error:  Uncaught TypeError: Argument 4 passed to Symfony\\Component\\HttpFoundation\\Request::createRequestFromFactory() must be of the type array, null given, called in C:\\WebDev\\xampp\\htdocs\\portal.ru\\portal\\vendor\\symfony\\http-foundation\\Request.php on line 281 and defined in C:\\WebDev\\xampp\\htdocs\\portal.ru\\portal\\vendor\\symfony\\http-foundation\\Request.php:1910\nStack trace:\n#0 C:\\WebDev\\xampp\\htdocs\\portal.ru\\portal\\vendor\\symfony\\http-foundation\\Request.php(281): Symfony\\Component\\HttpFoundation\\Request::createRequestFromFactory(Array, Array, Array, NULL, NULL, Array)\n#1 C:\\WebDev\\xampp\\htdocs\\portal.ru\\portal\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Request.php(59): Symfony\\Component\\HttpFoundation\\Request::createFromGlobals()\n#2 C:\\WebDev\\xampp\\htdocs\\portal.ru\\portal\\public\\index.php(55): Illuminate\\Http\\Request::capture()\n#3 {main}\n  thrown in C:\\WebDev\\xampp\\htdocs\\portal.ru\\portal\\vendor\\symfony\\http-foundation\\Request.php on line 1910, referer: http://dc-test04:8080/processes/add



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2FZbNZl
via IFTTT

Aucun commentaire:

Enregistrer un commentaire