nbukhari
New member
- Apr 16, 2021
- 14
- 14
- 3
Thanks for the amazing share!
Has anyone got this type of error when including it in the Laravel project?
I have tried multiple versions but unfortunately still getting the same error.
any ideas?
Has anyone got this type of error when including it in the Laravel project?
Code:
[18-May-2022 08:34:34 UTC] PHP Fatal error: Uncaught TypeError: Symfony\Component\HttpFoundation\Request::createRequestFromFactory(): Argument #1 ($query) must be of type array, null given, called in C:\wamp\www\vendor\symfony\http-foundation\Request.php on line 295 and defined in C:\wamp\www\vendor\symfony\http-foundation\Request.php:1899
Stack trace:
#0 C:\wamp\www\vendor\symfony\http-foundation\Request.php(295): Symfony\Component\HttpFoundation\Request::createRequestFromFactory(NULL, '', Array, Array, Array, Array)
#1 C:\wamp\www\vendor\laravel\framework\src\Illuminate\Http\Request.php(75): Symfony\Component\HttpFoundation\Request::createFromGlobals()
#2 C:\wamp\www\public\index.php(67): Illuminate\Http\Request::capture()
#3 {main}
thrown in C:\wamp\www\vendor\symfony\http-foundation\Request.php on line 1899
I have tried multiple versions but unfortunately still getting the same error.
any ideas?