[0] Exception in Lists.php line 349

栏目不存在

  1. * @return Ambigous <\think\static, NULL, void, multitype:, PDOStatement, string, \think\Model, unknown, \PDOStatement, boolean, multitype:multitype: >
  2. */
  3. private function loadCategoryModel($catid = null) {
  4. try {
  5. $model = null;
  6. if (isset ( $this->allCategorys [$catid] )) {
  7. $model = $this->allCategorys [$catid];
  8. }
  9. if ($catid === null || $model == null) {
  10. throw new Exception ( '栏目不存在' );
  11. }
  12. return $model;
  13. } catch ( Exception $e ) {
  14. throw $e;
  15. }
  16. }
  17. public function loadlist()
  18. {
  19. $num = 1;

Call Stack

  1. in Lists.php line 349
  2. at Lists->loadCategoryModel('18') in Lists.php line 266
  3. at Lists->initCate() in Lists.php line 15
  4. at Lists->initialize() in Controller.php line 68
  5. at Controller->__construct(object(App))
  6. at ReflectionClass->newInstanceArgs([object(App)]) in Container.php line 439
  7. at Container->invokeClass('app\index\controller...', []) in Container.php line 284
  8. at Container->make('app\index\controller...', true) in App.php line 723
  9. at App->controller('Lists', 'controller', false, 'Error') in Module.php line 94
  10. at Module->exec() in Dispatch.php line 168
  11. at Dispatch->run() in App.php line 432
  12. at App->think\{closure}(object(Request), object(Closure), null)
  13. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  14. at Middleware->think\{closure}(object(Request))
  15. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  16. at Middleware->dispatch(object(Request)) in App.php line 435
  17. at App->run() in index.php line 25

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
FCGI_ROLE RESPONDER
SCRIPT_FILENAME /www/wwwroot/jadedigitaldental.com/index.php
QUERY_STRING s=/index/Lists/index/catid/18.html
REQUEST_METHOD GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME /index.php
REQUEST_URI /index/Lists/index/catid/18.html
DOCUMENT_URI /index.php
DOCUMENT_ROOT /www/wwwroot/jadedigitaldental.com
SERVER_PROTOCOL HTTP/1.1
REQUEST_SCHEME http
GATEWAY_INTERFACE CGI/1.1
SERVER_SOFTWARE nginx/1.20.2
REMOTE_ADDR 54.243.2.41
REMOTE_PORT 41966
SERVER_ADDR 172.19.27.174
SERVER_PORT 80
SERVER_NAME jadedigitaldental.com
REDIRECT_STATUS 200
PATH_INFO
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_HOST jadedigitaldental.com
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711656235.4311
REQUEST_TIME 1711656235
Environment Variablesempty
ThinkPHP Constants
ROOT_PATH /www/wwwroot/jadedigitaldental.com
APP_PATH /www/wwwroot/jadedigitaldental.com/application
WEB_URL http://jadedigitaldental.com/
APP_HOST
APP_ROOT_DIR
DOCUMENTY_ROOT_DIR /www/wwwroot/jadedigitaldental.com