#0 [0]RuntimeException in File.php line 80

SplFileInfo::getMTime(): stat failed for /www/wwwroot/hxystny.com/public_html/runtime/session/sess_55c5a15d59f6f7c6d3c557de17f94a4c

  1. * @access public
  2. * @return void
  3. */
  4. public function gc(): void
  5. {
  6. $lifetime = $this->config['expire'];
  7. $now = time();
  8. $files = $this->findFiles($this->config['path'], function (SplFileInfo $item) use ($lifetime, $now) {
  9. return $now - $lifetime > $item->getMTime();
  10. });
  11. foreach ($files as $file) {
  12. $this->unlink($file->getPathname());
  13. }
  14. }
  15. /**
  16. * 查找文件

Call Stack

  1. in File.php line 80
  2. at SplFileInfo->getMTime() in File.php line 80
  3. at File->think\session\driver\{closure}(object(SplFileInfo)) in File.php line 103
  4. at File->findFiles('/www/wwwroot/jbufa.c...', object(Closure)) in File.php line 83
  5. at File->gc() in File.php line 65
  6. at File->init() in File.php line 47
  7. at File->__construct(object(App), ['name' => 'PHPSESSID', 'var_session_id' => '', 'store' => null, ...])
  8. at ReflectionClass->newInstanceArgs([object(App), ['name' => 'PHPSESSID', 'var_session_id' => '', 'store' => null, ...]]) in Container.php line 394
  9. at Container->invokeClass('\think\session\drive...', [['name' => 'PHPSESSID', 'var_session_id' => '', 'store' => null, ...]]) in Manager.php line 139
  10. at Manager->createDriver('file') in Session.php line 29
  11. at Session->createDriver('file') in Manager.php line 66
  12. at Manager->getDriver('file') in Manager.php line 56
  13. at Manager->driver() in Manager.php line 175
  14. at Manager->__call('getName', []) in SessionInit.php line 50
  15. at SessionInit->handle(object(Request), object(Closure))
  16. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  17. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  18. at Pipeline->think\{closure}(object(Request)) in InjectJwt.php line 14
  19. at InjectJwt->handle(object(Request), object(Closure))
  20. at call_user_func([object(InjectJwt), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  21. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  22. at Pipeline->think\{closure}(object(Request)) in TraceDebug.php line 71
  23. at TraceDebug->handle(object(Request), object(Closure))
  24. at call_user_func([object(TraceDebug), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  25. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  26. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  27. at Pipeline->then(object(Closure)) in Http.php line 207
  28. at Http->runWithRequest(object(Request)) in Http.php line 170
  29. at Http->run() in index.php line 23

Environment Variables

GET Data
s /product/info.html
id 294
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_ACCEPT */*
HTTP_USER_AGENT Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
HTTP_HOST hxystny.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME hxystny.com
SERVER_PORT 443
SERVER_ADDR 172.17.250.116
REMOTE_PORT 59342
REMOTE_ADDR 45.197.36.61
SERVER_SOFTWARE nginx/1.22.0
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/hxystny.com/public_html/public
DOCUMENT_URI /index.php
REQUEST_URI /product/info.html?id=294
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/product/info.html&id=294
SCRIPT_FILENAME /www/wwwroot/hxystny.com/public_html/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1780608841.5707
REQUEST_TIME 1780608841
6.338281s