[0] Exception in Query.php line 180

method not exist:data\model\NsPlatformHelpDocumentModel->viewPageQuery

  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 180
  2. at Query->__call('viewPageQuery', [object(Query), 1, 0, ...])
  3. at Query->viewPageQuery(object(Query), 1, 0, '', 'sort')
  4. at call_user_func_array([object(Query), 'viewPageQuery'], [object(Query), 1, 0, ...]) in Model.php line 1090
  5. at Model->__call('viewPageQuery', [object(Query), 1, 0, ...]) in NsPlatformHelpDocumentModel.php line 64
  6. at NsPlatformHelpDocumentModel->viewPageQuery(object(Query), 1, 0, '', 'sort') in NsPlatformHelpDocumentModel.php line 64
  7. at NsPlatformHelpDocumentModel->getPlatformHelpDocumentViewQuery(1, 0, '', 'sort') in NsPlatformHelpDocumentModel.php line 45
  8. at NsPlatformHelpDocumentModel->getPlatformHelpDocumentViewList(1, 0, '', 'sort') in Platform.php line 568
  9. at Platform->getPlatformHelpDocumentList(1, 0, '', 'sort') in Helpcenter.php line 48
  10. at Helpcenter->index()
  11. at ReflectionMethod->invokeArgs(object(Helpcenter), []) in Container.php line 395
  12. at Container->invokeReflectMethod(object(Helpcenter), object(ReflectionMethod), ['id' => '2', 'action' => 'index', 'convert' => false]) in Module.php line 132
  13. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  14. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  15. at Middleware->think\{closure}(object(Request))
  16. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  17. at Middleware->dispatch(object(Request), 'controller') in Module.php line 137
  18. at Module->exec() in Dispatch.php line 168
  19. at Dispatch->run() in App.php line 432
  20. at App->think\{closure}(object(Request), object(Closure), null)
  21. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  22. at Middleware->think\{closure}(object(Request))
  23. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  24. at Middleware->dispatch(object(Request)) in App.php line 435
  25. at App->run() in index.php line 26

Environment Variables

GET Data
id 2
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
REDIRECT_REDIRECT_UNIQUE_ID ZgZ31UnXr0Pm9NKn7VbHcAAAAAA
REDIRECT_REDIRECT_PHPRC /home/meilonnetjm1e8iql3osnznfebt/others
REDIRECT_REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID ZgZ31UnXr0Pm9NKn7VbHcAAAAAA
REDIRECT_PHPRC /home/meilonnetjm1e8iql3osnznfebt/others
REDIRECT_HANDLER php-cgi
REDIRECT_STATUS 200
UNIQUE_ID ZgZ31UnXr0Pm9NKn7VbHcAAAAAA
PHPRC /home/meilonnetjm1e8iql3osnznfebt/others
HTTP_X_FORWARDED_FOR 44.193.77.196
HTTP_X_REAL_IP 116.255.186.75
HTTP_HOST www.yuanaiju.com
HTTP_CONNECTION close
HTTP_ACCEPT_ENCODING gzip
HTTP_X_FORWARDED_PROTO http
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
PATH /sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE <address>Apache Server at www.yuanaiju.com Port 80</address>
SERVER_SOFTWARE Apache
SERVER_NAME www.yuanaiju.com
SERVER_ADDR 127.0.0.1
SERVER_PORT 80
REMOTE_ADDR 44.193.77.196
DOCUMENT_ROOT /home/meilonnetjm1e8iql3osnznfebt/wwwroot/
REQUEST_SCHEME http
CONTEXT_PREFIX /php-run-as-cgi
CONTEXT_DOCUMENT_ROOT /usr/php5.6/bin
SERVER_ADMIN webmaster@meilonnet
SCRIPT_FILENAME /home/meilonnetjm1e8iql3osnznfebt/wwwroot/index.php
REMOTE_PORT 54034
REDIRECT_URL /index.php/helpcenter/index
REDIRECT_QUERY_STRING id=2
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING id=2
REQUEST_URI /helpcenter/index?id=2
SCRIPT_NAME /index.php
PATH_INFO /helpcenter/index
PATH_TRANSLATED /home/meilonnetjm1e8iql3osnznfebt/wwwroot/helpcenter/index
ORIG_PATH_INFO /index.php/helpcenter/index
ORIG_SCRIPT_NAME /php-run-as-cgi/php-cgi
ORIG_SCRIPT_FILENAME /usr/php5.6/bin/php-cgi
ORIG_PATH_TRANSLATED /home/meilonnetjm1e8iql3osnznfebt/wwwroot/index.php/helpcenter/index
PHP_SELF /index.php/helpcenter/index
REQUEST_TIME_FLOAT 1711699925.7506
REQUEST_TIME 1711699925
Environment Variablesempty
ThinkPHP Constants
APP_PATH /home/meilonnetjm1e8iql3osnznfebt/wwwroot/application/
__ROOT__
__URL__ http://www.yuanaiju.com