Skip to content

PHP Fatal error: Uncaught TypeError: Hhxsv5\LaravelS\LaravelS::convertRequest(): Argument #1 ($laravel) must be of type Hhxsv5\LaravelS\Illuminate\Laravel, null given #494

@EternalSuno

Description

@EternalSuno

服务正常运行在集群上, 某个pod报这个错误信息, 重启后恢复
PHP Fatal error: Uncaught TypeError: Hhxsv5\LaravelS\LaravelS::convertRequest(): Argument #1 ($laravel) must be of type Hhxsv5\LaravelS\Illuminate\Laravel, null given, called in /www/vendor/hhxsv5/laravel-s/src/LaravelS.php on line 196 and defined in /www/vendor/hhxsv5/laravel-s/src/LaravelS.php:187
Stack trace:
#0 /www/vendor/hhxsv5/laravel-s/src/LaravelS.php(196): Hhxsv5\LaravelS\LaravelS->convertRequest(NULL, Object(Swoole\Http\Request))
#1 [internal function]: Hhxsv5\LaravelS\LaravelS->onRequest(Object(Swoole\Http\Request), Object(Swoole\Http\Response))
#2 /www/vendor/hhxsv5/laravel-s/src/Swoole/Server.php(413): Swoole\Server->start()
#3 /www/vendor/hhxsv5/laravel-s/src/Console/Portal.php(158): Hhxsv5\LaravelS\Swoole\Server->run()
#4 /www/vendor/hhxsv5/laravel-s/src/Console/Portal.php(59): Hhxsv5\LaravelS\Console\Portal->start()
#5 /www/vendor/symfony/console/Command/Command.php(326): Hhxsv5\LaravelS\Console\Portal->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#6 /www/bin/laravels(167): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 {main}

Metadata

Metadata

Assignees

No one assigned

    Labels

    analyzingAnalyzing this issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions