redis 日志报错 程序卡死了
这个啥情况
2023-03-14 15:07:22 pid:1 ErrorException: Redis::setex(): Passing null to parameter #1 ($key) of type string is deprecated in C:\Users\waoncheung\Desktop\wasonchueng-projects\phpstorm\pandaman\vendor\workerman\workerman\Protocols\Http\Session\RedisSessionHandler.php:118
Stack trace:
#0 [internal function]: panda\skeleton\Panda::panda\skeleton\{closure}()
#1 C:\Users\waoncheung\Desktop\wasonchueng-projects\phpstorm\pandaman\vendor\workerman\workerman\Protocols\Http\Session\RedisSessionHandler.php(118): Redis->setex()
#2 C:\Users\waoncheung\Desktop\wasonchueng-projects\phpstorm\pandaman\vendor\workerman\workerman\Protocols\Http\Session.php(382): Workerman\Protocols\Http\Session\RedisSessionHandler->write()
#3 C:\Users\waoncheung\Desktop\wasonchueng-projects\phpstorm\pandaman\vendor\workerman\workerman\Protocols\Http\Session.php(365): Workerman\Protocols\Http\Session->save()
#4 C:\Users\waoncheung\Desktop\wasonchueng-projects\phpstorm\pandaman\panda\panda-container\src\Container.php(280): Workerman\Protocols\Http\Session->__destruct()
#5 C:\Users\waoncheung\Desktop\wasonchueng-projects\phpstorm\pandaman\panda\panda-http\src\Http.php(97): panda\container\Container->remove()
#6 C:\Users\waoncheung\Desktop\wasonchueng-projects\phpstorm\pandaman\vendor\workerman\workerman\Connection\TcpConnection.php(646): panda\http\Http->onMessage()
#7 C:\Users\waoncheung\Desktop\wasonchueng-projects\phpstorm\pandaman\vendor\workerman\workerman\Events\Select.php(311): Workerman\Connection\TcpConnection->baseRead()
#8 C:\Users\waoncheung\Desktop\wasonchueng-projects\phpstorm\pandaman\vendor\workerman\workerman\Worker.php(2470): Workerman\Events\Select->loop()
#9 C:\Users\waoncheung\Desktop\wasonchueng-projects\phpstorm\pandaman\vendor\workerman\workerman\Worker.php(1453): Workerman\Worker->run()
#10 C:\Users\waoncheung\Desktop\wasonchueng-projects\phpstorm\pandaman\vendor\workerman\workerman\Worker.php(1396): Workerman\Worker::forkWorkersForWindows()
#11 C:\Users\waoncheung\Desktop\wasonchueng-projects\phpstorm\pandaman\vendor\workerman\workerman\Worker.php(560): Workerman\Worker::forkWorkers()
#12 C:\Users\waoncheung\Desktop\wasonchueng-projects\phpstorm\pandaman\panda\panda-worker\src\WorkerUtil.php(100): Workerman\Worker::runAll()
#13 C:\Users\waoncheung\Desktop\wasonchueng-projects\phpstorm\pandaman\panda\panda-http\src\command\HttpServer.php(106): panda\worker\WorkerUtil::runAll()
#14 C:\Users\waoncheung\Desktop\wasonchueng-projects\phpstorm\pandaman\vendor\symfony\console\Command\Command.php(312): panda\http\command\HttpServer->execute()
#15 C:\Users\waoncheung\Desktop\wasonchueng-projects\phpstorm\pandaman\vendor\symfony\console\Application.php(1022): Symfony\Component\Console\Command\Command->run()
#16 C:\Users\waoncheung\Desktop\wasonchueng-projects\phpstorm\pandaman\vendor\symfony\console\Application.php(314): Symfony\Component\Console\Application->doRunCommand()
#17 C:\Users\waoncheung\Desktop\wasonchueng-projects\phpstorm\pandaman\vendor\symfony\console\Application.php(168): Symfony\Component\Console\Application->doRun()
#18 C:\Users\waoncheung\Desktop\wasonchueng-projects\phpstorm\pandaman\panda\panda-skeleton\src\Console.php(62): Symfony\Component\Console\Application->run()
#19 C:\Users\waoncheung\Desktop\wasonchueng-projects\phpstorm\pandaman\panda\panda-skeleton\src\Panda.php(128): panda\skeleton\Console->__applicationRunService()
#20 C:\Users\waoncheung\Desktop\wasonchueng-projects\phpstorm\pandaman\bin.php(44): panda\skeleton\Panda->run()
#21 {main}
已解决