#0 [0]ClassNotFoundException in Container.php line 377

class not exists: plugins\center\index\controller\Presence

  1. * @param string $class 类名
  2. * @param array $vars 参数
  3. * @return mixed
  4. */
  5. public function invokeClass(string $class, array $vars = [])
  6. {
  7. try {
  8. $reflect = new ReflectionClass($class);
  9. } catch (ReflectionException $e) {
  10. throw new ClassNotFoundException('class not exists: ' . $class, $class, $e);
  11. }
  12. if ($reflect->hasMethod('__make')) {
  13. $method = $reflect->getMethod('__make');
  14. if ($method->isPublic() && $method->isStatic()) {
  15. $args = $this->bindParams($method, $vars);
  16. $object = $method->invokeArgs(null, $args);
  17. $this->invokeAfter($class, $object);
  18. return $object;

Call Stack

  1. in Container.php line 377
  2. at Container->invokeClass('plugins\center\index...', []) in Container.php line 251
  3. at Container->make('plugins\center\index...', [], false) in helper.php line 68
  4. at app('plugins\center\index...') in Plugins.php line 28
  5. at Plugins->index()
  6. at ReflectionMethod->invokeArgs(object(Plugins), []) in Container.php line 343
  7. at Container->invokeReflectMethod(object(Plugins), object(ReflectionMethod), ['routeName' => 'center', 'presence' => '448', 'name' => 'presence/448', ...]) in Controller.php line 110
  8. at Controller->think\route\dispatch\{closure}(object(Request)) in Pipeline.php line 59
  9. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  10. at Pipeline->then(object(Closure)) in Controller.php line 113
  11. at Controller->exec() in Dispatch.php line 89
  12. at Dispatch->run() in Route.php line 772
  13. at Route->think\{closure}(object(Request)) in Pipeline.php line 59
  14. at Pipeline->think\{closure}(object(Request)) in CommonCheck.php line 48
  15. at CommonCheck->handle(object(Request), object(Closure))
  16. at call_user_func([object(CommonCheck), '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 ConfigCheck.php line 42
  19. at ConfigCheck->handle(object(Request), object(Closure))
  20. at call_user_func([object(ConfigCheck), '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 CatalogCheck.php line 129
  23. at CatalogCheck->handle(object(Request), object(Closure))
  24. at call_user_func([object(CatalogCheck), '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 AppCheck.php line 50
  27. at AppCheck->handle(object(Request), object(Closure))
  28. at call_user_func([object(AppCheck), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  29. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  30. at Pipeline->think\{closure}(object(Request)) in LoadLangPack.php line 59
  31. at LoadLangPack->handle(object(Request), object(Closure))
  32. at call_user_func([object(LoadLangPack), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  33. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  34. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  35. at Pipeline->then(object(Closure)) in Route.php line 773
  36. at Route->dispatch(object(Request), object(Closure)) in Http.php line 216
  37. at Http->dispatchToRoute(object(Request)) in Http.php line 206
  38. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  39. at Pipeline->think\{closure}(object(Request)) in MultiApp.php line 71
  40. at MultiApp->think\app\{closure}(object(Request)) in Pipeline.php line 59
  41. at Pipeline->think\{closure}(object(Request)) in InstallCheck.php line 26
  42. at InstallCheck->handle(object(Request), object(Closure))
  43. at call_user_func([object(InstallCheck), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  44. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  45. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  46. at SessionInit->handle(object(Request), object(Closure))
  47. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  48. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  49. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  50. at Pipeline->then(object(Closure)) in MultiApp.php line 72
  51. at MultiApp->handle(object(Request), object(Closure))
  52. at call_user_func([object(MultiApp), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  53. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  54. at Pipeline->think\{closure}(object(Request)) in TraceDebug.php line 71
  55. at TraceDebug->handle(object(Request), object(Closure))
  56. at call_user_func([object(TraceDebug), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  57. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  58. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  59. at Pipeline->then(object(Closure)) in Http.php line 207
  60. at Http->runWithRequest(object(Request)) in Http.php line 170
  61. at Http->run() in index.php line 20

#1 [-1]ReflectionException in Container.php line 375

Class plugins\center\index\controller\Presence does not exist

  1. * 调用反射执行类的实例化 支持依赖注入
  2. * @access public
  3. * @param string $class 类名
  4. * @param array $vars 参数
  5. * @return mixed
  6. */
  7. public function invokeClass(string $class, array $vars = [])
  8. {
  9. try {
  10. $reflect = new ReflectionClass($class);
  11. } catch (ReflectionException $e) {
  12. throw new ClassNotFoundException('class not exists: ' . $class, $class, $e);
  13. }
  14. if ($reflect->hasMethod('__make')) {
  15. $method = $reflect->getMethod('__make');
  16. if ($method->isPublic() && $method->isStatic()) {
  17. $args = $this->bindParams($method, $vars);
  18. $object = $method->invokeArgs(null, $args);

Call Stack

  1. in Container.php line 375
  2. at ReflectionClass->__construct('plugins\center\index...') in Container.php line 375
  3. at Container->invokeClass('plugins\center\index...', []) in Container.php line 251
  4. at Container->make('plugins\center\index...', [], false) in helper.php line 68
  5. at app('plugins\center\index...') in Plugins.php line 28
  6. at Plugins->index()
  7. at ReflectionMethod->invokeArgs(object(Plugins), []) in Container.php line 343
  8. at Container->invokeReflectMethod(object(Plugins), object(ReflectionMethod), ['routeName' => 'center', 'presence' => '448', 'name' => 'presence/448', ...]) in Controller.php line 110
  9. at Controller->think\route\dispatch\{closure}(object(Request)) in Pipeline.php line 59
  10. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  11. at Pipeline->then(object(Closure)) in Controller.php line 113
  12. at Controller->exec() in Dispatch.php line 89
  13. at Dispatch->run() in Route.php line 772
  14. at Route->think\{closure}(object(Request)) in Pipeline.php line 59
  15. at Pipeline->think\{closure}(object(Request)) in CommonCheck.php line 48
  16. at CommonCheck->handle(object(Request), object(Closure))
  17. at call_user_func([object(CommonCheck), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  18. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  19. at Pipeline->think\{closure}(object(Request)) in ConfigCheck.php line 42
  20. at ConfigCheck->handle(object(Request), object(Closure))
  21. at call_user_func([object(ConfigCheck), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  22. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  23. at Pipeline->think\{closure}(object(Request)) in CatalogCheck.php line 129
  24. at CatalogCheck->handle(object(Request), object(Closure))
  25. at call_user_func([object(CatalogCheck), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  26. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  27. at Pipeline->think\{closure}(object(Request)) in AppCheck.php line 50
  28. at AppCheck->handle(object(Request), object(Closure))
  29. at call_user_func([object(AppCheck), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  30. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  31. at Pipeline->think\{closure}(object(Request)) in LoadLangPack.php line 59
  32. at LoadLangPack->handle(object(Request), object(Closure))
  33. at call_user_func([object(LoadLangPack), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  34. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  35. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  36. at Pipeline->then(object(Closure)) in Route.php line 773
  37. at Route->dispatch(object(Request), object(Closure)) in Http.php line 216
  38. at Http->dispatchToRoute(object(Request)) in Http.php line 206
  39. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  40. at Pipeline->think\{closure}(object(Request)) in MultiApp.php line 71
  41. at MultiApp->think\app\{closure}(object(Request)) in Pipeline.php line 59
  42. at Pipeline->think\{closure}(object(Request)) in InstallCheck.php line 26
  43. at InstallCheck->handle(object(Request), object(Closure))
  44. at call_user_func([object(InstallCheck), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  45. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  46. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  47. at SessionInit->handle(object(Request), object(Closure))
  48. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  49. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  50. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  51. at Pipeline->then(object(Closure)) in MultiApp.php line 72
  52. at MultiApp->handle(object(Request), object(Closure))
  53. at call_user_func([object(MultiApp), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  54. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  55. at Pipeline->think\{closure}(object(Request)) in TraceDebug.php line 71
  56. at TraceDebug->handle(object(Request), object(Closure))
  57. at call_user_func([object(TraceDebug), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  58. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  59. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  60. at Pipeline->then(object(Closure)) in Http.php line 207
  61. at Http->runWithRequest(object(Request)) in Http.php line 170
  62. at Http->run() in index.php line 20

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
SCRIPT_NAME /index.php
REQUEST_URI /center/presence/448.html
QUERY_STRING s=/center/presence/448.html
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/2.0
GATEWAY_INTERFACE CGI/1.1
REDIRECT_QUERY_STRING s=/center/presence/448.html
REDIRECT_URL /center/presence/448.html
REMOTE_PORT 38664
SCRIPT_FILENAME /www/wwwroot/hnsycsh.com/public/index.php
SERVER_ADMIN webmaster@example.com
CONTEXT_DOCUMENT_ROOT /www/wwwroot/hnsycsh.com/public
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /www/wwwroot/hnsycsh.com/public
REMOTE_ADDR 44.222.249.19
SERVER_PORT 443
SERVER_ADDR 42.51.25.18
SERVER_NAME hnsycsh.com
SERVER_SOFTWARE Apache
SERVER_SIGNATURE <address>Apache Server at hnsycsh.com Port 443</address>
LD_LIBRARY_PATH /www/server/apache/lib
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_HOST hnsycsh.com
HTTP_REFERER http://hnsycsh.com/center/presence/448.html
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
proxy-nokeepalive 1
H2_STREAM_TAG 142-3
H2_STREAM_ID 3
H2_PUSHED_ON
H2_PUSHED
H2_PUSH off
H2PUSH off
HTTP2 on
SSL_TLS_SNI hnsycsh.com
HTTPS on
REDIRECT_STATUS 200
REDIRECT_H2_STREAM_TAG 142-3
REDIRECT_H2_STREAM_ID 3
REDIRECT_H2_PUSHED_ON
REDIRECT_H2_PUSHED
REDIRECT_H2_PUSH off
REDIRECT_H2PUSH off
REDIRECT_HTTP2 on
REDIRECT_SSL_TLS_SNI hnsycsh.com
REDIRECT_HTTPS on
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711624369.2006
REQUEST_TIME 1711624369
0.051325s