#0 [0]Error in User.php line 71

Call to undefined method app\controller\User::check()

  1. $this->display();
  2. }
  3. public function lssh() {
  4. $this->check();
  5. $this->display();
  6. }
  7. public function fjxx() {
  8. $this->check();
  9. $houseCode = R('User/fjbh', array($_SESSION['uid']));
  10. $info = D('user')->where('id=' . $_SESSION['uid'])->find();
  11. if(empty($info)){
  12. $this->redirect("Public/404");
  13. }
  14. $year = date('Y');
  15. $strtime = date('Y')."-6-1 00:00:00";
  16. if(strtotime(date('Y-m-d H:i:s'))<=strtotime($strtime)){

Call Stack

  1. in User.php line 71
  2. at User->fjxx()
  3. at ReflectionMethod->invokeArgs(object(User), []) in Container.php line 343
  4. at Container->invokeReflectMethod(object(User), object(ReflectionMethod), []) in Controller.php line 110
  5. at Controller->think\route\dispatch\{closure}(object(Request)) in Pipeline.php line 59
  6. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  7. at Pipeline->then(object(Closure)) in Controller.php line 113
  8. at Controller->exec() in Dispatch.php line 89
  9. at Dispatch->run() in Route.php line 772
  10. at Route->think\{closure}(object(Request)) in Pipeline.php line 59
  11. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  12. at Pipeline->then(object(Closure)) in Route.php line 773
  13. at Route->dispatch(object(Request), object(Closure)) in Http.php line 216
  14. at Http->dispatchToRoute(object(Request)) in Http.php line 206
  15. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  16. at Pipeline->think\{closure}(object(Request)) in TraceDebug.php line 71
  17. at TraceDebug->handle(object(Request), object(Closure))
  18. at call_user_func([object(TraceDebug), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  19. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  20. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  21. at Pipeline->then(object(Closure)) in Http.php line 207
  22. at Http->runWithRequest(object(Request)) in Http.php line 170
  23. at Http->run() in index.php line 20

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
SCRIPT_URL /index.php
SCRIPT_URI http://www.66885890.com/index.php
HTTP_HOST www.66885890.com
HTTP_X_REAL_IP 54.221.159.188
HTTP_X_FORWARDED_FOR 54.221.159.188
HTTP_CONNECTION close
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
PATH G:\instantclient_11_2;G:\app\Administrator\product\11.2.0\client_1;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;.F:\Program Files\Java\jdk1.8.0_321\bin;F:\Program Files\Java\jdk1.8.0_321\jre\bin;f:\app\Administrator\product\11.2.0\dbhome_1\bin;C:\Program Files\HP\NCU;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;F:\php;C:\Program Files\TortoiseSVN\bin;;C:\Program Files (x86)\NTP\bin;
SystemRoot C:\Windows
COMSPEC C:\Windows\system32\cmd.exe
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
WINDIR C:\Windows
SERVER_SIGNATURE
SERVER_SOFTWARE Apache/2.4.26 (Win64) PHP/8.0.7
SERVER_NAME www.66885890.com
SERVER_ADDR 127.0.0.1
SERVER_PORT 80
REMOTE_ADDR 127.0.0.1
DOCUMENT_ROOT F:/webdemo/www/public
REQUEST_SCHEME http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT F:/webdemo/www/public
SERVER_ADMIN admin@example.com
SCRIPT_FILENAME F:/webdemo/www/public/index.php
REMOTE_PORT 35443
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.0
REQUEST_METHOD GET
QUERY_STRING s=/user/fjxx.html
REQUEST_URI /index.php?s=/user/fjxx.html
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710829744.7391
REQUEST_TIME 1710829744
0.109200s