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

class not exists: plugins\zuixingonggao\index\controller\Page

  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() in Container.php line 251
  3. at Container->make() in helper.php line 68
  4. at app() in Plugins.php line 28
  5. at Plugins->index()
  6. at ReflectionMethod->invokeArgs() in Container.php line 343
  7. at Container->invokeReflectMethod() in Controller.php line 110
  8. at Controller->think\route\dispatch\{closure}() in Pipeline.php line 59
  9. at Pipeline->think\{closure}() in Pipeline.php line 66
  10. at Pipeline->then() 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}() in Pipeline.php line 59
  14. at Pipeline->think\{closure}() in CommonCheck.php line 48
  15. at CommonCheck->handle()
  16. at call_user_func() in Middleware.php line 142
  17. at Middleware->think\{closure}() in Pipeline.php line 85
  18. at Pipeline->think\{closure}() in ConfigCheck.php line 42
  19. at ConfigCheck->handle()
  20. at call_user_func() in Middleware.php line 142
  21. at Middleware->think\{closure}() in Pipeline.php line 85
  22. at Pipeline->think\{closure}() in CatalogCheck.php line 123
  23. at CatalogCheck->handle()
  24. at call_user_func() in Middleware.php line 142
  25. at Middleware->think\{closure}() in Pipeline.php line 85
  26. at Pipeline->think\{closure}() in AppCheck.php line 50
  27. at AppCheck->handle()
  28. at call_user_func() in Middleware.php line 142
  29. at Middleware->think\{closure}() in Pipeline.php line 85
  30. at Pipeline->think\{closure}() in LoadLangPack.php line 59
  31. at LoadLangPack->handle()
  32. at call_user_func() in Middleware.php line 142
  33. at Middleware->think\{closure}() in Pipeline.php line 85
  34. at Pipeline->think\{closure}() in Pipeline.php line 66
  35. at Pipeline->then() in Route.php line 773
  36. at Route->dispatch() in Http.php line 216
  37. at Http->dispatchToRoute() in Http.php line 206
  38. at Http->think\{closure}() in Pipeline.php line 59
  39. at Pipeline->think\{closure}() in MultiApp.php line 71
  40. at MultiApp->think\app\{closure}() in Pipeline.php line 59
  41. at Pipeline->think\{closure}() in InstallCheck.php line 26
  42. at InstallCheck->handle()
  43. at call_user_func() in Middleware.php line 142
  44. at Middleware->think\{closure}() in Pipeline.php line 85
  45. at Pipeline->think\{closure}() in SessionInit.php line 67
  46. at SessionInit->handle()
  47. at call_user_func() in Middleware.php line 142
  48. at Middleware->think\{closure}() in Pipeline.php line 85
  49. at Pipeline->think\{closure}() in Pipeline.php line 66
  50. at Pipeline->then() in MultiApp.php line 72
  51. at MultiApp->handle()
  52. at call_user_func() in Middleware.php line 142
  53. at Middleware->think\{closure}() in Pipeline.php line 85
  54. at Pipeline->think\{closure}() in Pipeline.php line 66
  55. at Pipeline->then() in Http.php line 207
  56. at Http->runWithRequest() in Http.php line 170
  57. at Http->run() in index.php line 20

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

Class plugins\zuixingonggao\index\controller\Page 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() in Container.php line 375
  3. at Container->invokeClass() in Container.php line 251
  4. at Container->make() in helper.php line 68
  5. at app() in Plugins.php line 28
  6. at Plugins->index()
  7. at ReflectionMethod->invokeArgs() in Container.php line 343
  8. at Container->invokeReflectMethod() in Controller.php line 110
  9. at Controller->think\route\dispatch\{closure}() in Pipeline.php line 59
  10. at Pipeline->think\{closure}() in Pipeline.php line 66
  11. at Pipeline->then() 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}() in Pipeline.php line 59
  15. at Pipeline->think\{closure}() in CommonCheck.php line 48
  16. at CommonCheck->handle()
  17. at call_user_func() in Middleware.php line 142
  18. at Middleware->think\{closure}() in Pipeline.php line 85
  19. at Pipeline->think\{closure}() in ConfigCheck.php line 42
  20. at ConfigCheck->handle()
  21. at call_user_func() in Middleware.php line 142
  22. at Middleware->think\{closure}() in Pipeline.php line 85
  23. at Pipeline->think\{closure}() in CatalogCheck.php line 123
  24. at CatalogCheck->handle()
  25. at call_user_func() in Middleware.php line 142
  26. at Middleware->think\{closure}() in Pipeline.php line 85
  27. at Pipeline->think\{closure}() in AppCheck.php line 50
  28. at AppCheck->handle()
  29. at call_user_func() in Middleware.php line 142
  30. at Middleware->think\{closure}() in Pipeline.php line 85
  31. at Pipeline->think\{closure}() in LoadLangPack.php line 59
  32. at LoadLangPack->handle()
  33. at call_user_func() in Middleware.php line 142
  34. at Middleware->think\{closure}() in Pipeline.php line 85
  35. at Pipeline->think\{closure}() in Pipeline.php line 66
  36. at Pipeline->then() in Route.php line 773
  37. at Route->dispatch() in Http.php line 216
  38. at Http->dispatchToRoute() in Http.php line 206
  39. at Http->think\{closure}() in Pipeline.php line 59
  40. at Pipeline->think\{closure}() in MultiApp.php line 71
  41. at MultiApp->think\app\{closure}() in Pipeline.php line 59
  42. at Pipeline->think\{closure}() in InstallCheck.php line 26
  43. at InstallCheck->handle()
  44. at call_user_func() in Middleware.php line 142
  45. at Middleware->think\{closure}() in Pipeline.php line 85
  46. at Pipeline->think\{closure}() in SessionInit.php line 67
  47. at SessionInit->handle()
  48. at call_user_func() in Middleware.php line 142
  49. at Middleware->think\{closure}() in Pipeline.php line 85
  50. at Pipeline->think\{closure}() in Pipeline.php line 66
  51. at Pipeline->then() in MultiApp.php line 72
  52. at MultiApp->handle()
  53. at call_user_func() in Middleware.php line 142
  54. at Middleware->think\{closure}() in Pipeline.php line 85
  55. at Pipeline->think\{closure}() in Pipeline.php line 66
  56. at Pipeline->then() in Http.php line 207
  57. at Http->runWithRequest() in Http.php line 170
  58. 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
HTTP_REFERER http://wangzhantuoguan.net/zuixingonggao/page/7
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST wangzhantuoguan.net
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME rjkf.zzhonghu.com
SERVER_PORT 443
SERVER_ADDR 42.51.25.21
REMOTE_PORT 43896
REMOTE_ADDR 44.200.179.138
SERVER_SOFTWARE nginx/1.22.1
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/rjkf.zzhonghu.com/public
DOCUMENT_URI /index.php
REQUEST_URI /zuixingonggao/page/7
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/zuixingonggao/page/7
SCRIPT_FILENAME /www/wwwroot/rjkf.zzhonghu.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711660876.7013
REQUEST_TIME 1711660876