You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"errorCode":-1,"errorMessage":"User process exit when running"}
日志:
START RequestId: 01dbddd5156aeac3ec4b69cf8800c6c6
Event RequestId: 01dbddd5156aeac3ec4b69cf8800c6c6
Fatal error: Uncaught TypeError: Argument 2 passed to Symfony\Component\HttpFoundation\Request::createRequestFromFactory() must be of the type array, null given, called in /var/user/vendor/symfony/http-foundation/Request.php on line 410 and defined in /var/user/vendor/symfony/http-foundation/Request.php:1976
composer.json
"require": {
"php": "^7.3",
"fideloper/proxy": "^4.0",
"jenssegers/agent": "^2.6",
"laravel/framework": "^6.0",
"laravel/tinker": "^1.0",
"predis/predis": "^1.1"
},
试了好几个项目,当form提交 POST 请求就抛出错误。
腾讯云 函数服务里的详细日志:
返回数据:
{"errorCode":-1,"errorMessage":"User process exit when running"}
日志:
START RequestId: 01dbddd5156aeac3ec4b69cf8800c6c6
Event RequestId: 01dbddd5156aeac3ec4b69cf8800c6c6
Fatal error: Uncaught TypeError: Argument 2 passed to Symfony\Component\HttpFoundation\Request::createRequestFromFactory() must be of the type array, null given, called in /var/user/vendor/symfony/http-foundation/Request.php on line 410 and defined in /var/user/vendor/symfony/http-foundation/Request.php:1976
Stack trace:
#0 /var/user/vendor/symfony/http-foundation/Request.php(410): Symfony\Component\HttpFoundation\Request::createRequestFromFactory(Array, NULL, Array, Array, Array, Array, NULL)
#1 /var/user/serverless-handler.php(71): Symfony\Component\HttpFoundation\Request::create('/', 'POST', NULL, Array, Array, Array)
#2 /var/runtime/php7/bootstrap.php(46): handler(Object(stdClass), Object(stdClass))
#3 /var/runtime/php7/bootstrap.php(204): _scf_bootstrap\EventHandler->handle(Object(stdClass), Object(stdClass))
#4 /var/runtime/php7/bootstrap.php(227): _scf_bootstrap__main_for_scf()
#5 {main}
thrown in /var/user/vendor/symfony/http-foundation/Request.php on line 1976
ERROR RequestId:01dbddd5156aeac3ec4b69cf8800c6c6 Result:{"errorCode":-1,"errorMessage":"User process exit when running"}
END RequestId: 01dbddd5156aeac3ec4b69cf8800c6c6
Report RequestId: 01dbddd5156aeac3ec4b69cf8800c6c6 Duration:24ms Memory:128MB MemUsage:17.714844MB
The text was updated successfully, but these errors were encountered: