[0] Exception in Query.php line 200

method not exist:app\index\model\Article->getAllArticleDataById

  1. return call_user_func_array([$this, 'where'], $args);
  2. } elseif ($this->model && method_exists($this->model, 'scope' . $method)) {
  3. // 动态调用命名范围
  4. $method = 'scope' . $method;
  5. array_unshift($args, $this);
  6. call_user_func_array([$this->model, $method], $args);
  7. return $this;
  8. } else {
  9. throw new Exception('method not exist:' . ($this->model ? get_class($this->model) : static::class) . '->' . $method);
  10. }
  11. }
  12. /**
  13. * 扩展查询方法
  14. * @access public
  15. * @param string|array $method 查询方法名
  16. * @param callable $callback
  17. * @return void

Call Stack

  1. in Query.php line 200
  2. at Query->__call('getAllArticleDataByI...', ['1', 15])
  3. at Query->getAllArticleDataById('1', 15)
  4. at call_user_func_array([object(Query), 'getAllArticleDataByI...'], ['1', 15]) in Model.php line 1107
  5. at Model->__call('getAllArticleDataByI...', ['1', 15]) in Article.php line 27
  6. at Article->getAllArticleDataById('1', 15) in Article.php line 27
  7. at Article->lists()
  8. at ReflectionMethod->invokeArgs(object(Article), []) in Container.php line 395
  9. at Container->invokeReflectMethod(object(Article), object(ReflectionMethod), ['city' => 'Shanghai', 'urlname' => 'gsdt', 'convert' => false]) in Module.php line 131
  10. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  11. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  12. at Middleware->think\{closure}(object(Request))
  13. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  14. at Middleware->dispatch(object(Request), 'controller') in Module.php line 136
  15. at Module->exec() in Dispatch.php line 168
  16. at Dispatch->run() in App.php line 432
  17. at App->think\{closure}(object(Request), object(Closure), null)
  18. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  19. at Middleware->think\{closure}(object(Request))
  20. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  21. at Middleware->dispatch(object(Request)) in App.php line 435
  22. at App->run() in index.php line 29

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
ALLUSERSPROFILE C:\ProgramData
APPDATA C:\Windows\system32\config\systemprofile\AppData\Roaming
CommonProgramFiles C:\Program Files\Common Files
CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
CommonProgramW6432 C:\Program Files\Common Files
COMPUTERNAME WIN-URH2HI7GTEO
ComSpec C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK NO
LOCALAPPDATA C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS 4
OS Windows_NT
Path C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE AMD64
PROCESSOR_IDENTIFIER Intel64 Family 6 Model 44 Stepping 2, GenuineIntel
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 2c02
ProgramData C:\ProgramData
ProgramFiles C:\Program Files
ProgramFiles(x86) C:\Program Files (x86)
ProgramW6432 C:\Program Files
PSModulePath C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC C:\Users\Public
SystemDrive C:
SystemRoot C:\Windows
TEMP C:\Windows\TEMP
TMP C:\Windows\TEMP
USERDOMAIN WORKGROUP
USERNAME WIN-URH2HI7GTEO$
USERPROFILE C:\Windows\system32\config\systemprofile
windir C:\Windows
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_CONNECTION close
HTTP_X_FORWARDED_FOR 3.85.211.2
HTTP_X_REAL_IP 3.85.211.2
HTTP_HOST www.kybz.net
REDIRECT_STATUS 200
SERVER_NAME 127.0.0.1
SERVER_PORT 8022
SERVER_ADDR 192.168.0.31
REMOTE_PORT 52100
REMOTE_ADDR 192.168.0.9
SERVER_SOFTWARE nginx/1.15.11
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.0
DOCUMENT_ROOT D:/wwwroot/kybz.net/public
DOCUMENT_URI /index.php
REQUEST_URI /article/Shanghai/gsdt.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/article/Shanghai/gsdt.html
PATH_TRANSLATED D:/wwwroot/kybz.net/public
PATH_INFO
SCRIPT_FILENAME D:/wwwroot/kybz.net/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711645356.602
REQUEST_TIME 1711645356
Environment Variablesempty
ThinkPHP Constants
DS \
APP_PATH D:\wwwroot\kybz.net\public/../application/
CONF_PATH D:\wwwroot\kybz.net\public/../config/
PUBILC_PATH D:\wwwroot\kybz.net\public/
ROOT_PATH D:\wwwroot\kybz.net\public
CACHE_PATH D:\wwwroot\kybz.net\public/../runtime/
CONFIG_PATH D:\wwwroot\kybz.net\public/../config/
UPLOAD_PATH uploads