#0 [2]ErrorException in QrcodeLogic.php line 51

Undefined variable $info

  1. break;
  2. }
  3. break;
  4. case 1:
  5. case 's':
  6. $info = Db::name('qrcode')->field($field)->where($where)->findOrEmpty();
  7. $qtype = 1;
  8. break;
  9. }
  10. if (!$info) {
  11. return $this->setError(SettingLogic::getVal('error1'));
  12. }
  13. $info['qtype'] = $qtype;
  14. $this->qrcode = $info;
  15. }
  16. /**
  17. * 设置使用状态

Call Stack

  1. in QrcodeLogic.php line 51
  2. at Error->appError() in QrcodeLogic.php line 51
  3. at QrcodeLogic->__construct() in Index.php line 24
  4. at Index->index()
  5. at ReflectionMethod->invokeArgs() in Container.php line 348
  6. at Container->invokeReflectMethod() in Dispatch.php line 178
  7. at Dispatch->think\route\{closure}() in Pipeline.php line 59
  8. at Pipeline->think\{closure}() in Pipeline.php line 66
  9. at Pipeline->then() in Dispatch.php line 181
  10. at Dispatch->responseWithMiddlewarePipeline() in Controller.php line 88
  11. at Controller->exec() in Dispatch.php line 56
  12. at Dispatch->run() in Route.php line 713
  13. at Route->think\{closure}() in Pipeline.php line 59
  14. at Pipeline->think\{closure}() in Pipeline.php line 66
  15. at Pipeline->then() in Route.php line 714
  16. at Route->dispatch() in Http.php line 208
  17. at Http->dispatchToRoute() in Http.php line 198
  18. at Http->think\{closure}() in Pipeline.php line 59
  19. at Pipeline->think\{closure}() in MultiApp.php line 51
  20. at MultiApp->think\app\{closure}() in Pipeline.php line 59
  21. at Pipeline->think\{closure}() in Pipeline.php line 66
  22. at Pipeline->then() in MultiApp.php line 52
  23. at MultiApp->handle()
  24. at call_user_func() in Middleware.php line 134
  25. at Middleware->think\{closure}() in Pipeline.php line 85
  26. at Pipeline->think\{closure}() in LirenCheck.php line 59
  27. at LirenCheck->handle()
  28. at call_user_func() in Middleware.php line 134
  29. at Middleware->think\{closure}() in Pipeline.php line 85
  30. at Pipeline->think\{closure}() in Throttle.php line 135
  31. at Throttle->handle()
  32. at call_user_func() in Middleware.php line 134
  33. at Middleware->think\{closure}() in Pipeline.php line 85
  34. at Pipeline->think\{closure}() in TraceDebug.php line 71
  35. at TraceDebug->handle()
  36. at call_user_func() in Middleware.php line 134
  37. at Middleware->think\{closure}() in Pipeline.php line 85
  38. at Pipeline->think\{closure}() in Pipeline.php line 66
  39. at Pipeline->then() in Http.php line 199
  40. at Http->runWithRequest() in Http.php line 162
  41. 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_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
HTTP_HOST smj.act315.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME smj.act315.com
SERVER_PORT 443
SERVER_ADDR 172.18.133.229
REMOTE_PORT 61455
REMOTE_ADDR 216.73.216.69
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/smj.act315.com/public
DOCUMENT_URI /index.php
REQUEST_URI /
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_FILENAME /www/wwwroot/smj.act315.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1776544743.4118
REQUEST_TIME 1776544743
0.675288s