[0] Exception in Lists.php line 580

栏目不存在

  1. if (isset ( $this->allCategorys [$catid] )) {
  2. $model = $this->allCategorys [$catid];
  3. }
  4. if ($catid === null || $model == null) {
  5. throw new Exception ( '栏目不存在' );
  6. }
  7. return $model;
  8. } catch ( Exception $e ) {
  9. throw $e;

Call Stack

  1. in Lists.php line 580
  2. at Lists->loadCategoryModel('25') in Lists.php line 424
  3. at Lists->initCate() in Lists.php line 31
  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...') in Container.php line 516
  9. at Container->__get('app\index\controller...') in App.php line 1448
  10. at App->controller('Lists', 'controller', false, 'Error') in Module.php line 94
  11. at Module->exec() in Dispatch.php line 168
  12. at Dispatch->run() in App.php line 862
  13. at App->think\{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)) in App.php line 868
  18. 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
HTTP_ACCEPT_ENCODING
deflate, gzip
HTTP_ACCEPT
*/*
HTTP_HOST
jlccs.org
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
PATH_INFO
REDIRECT_STATUS
200
SERVER_NAME
www.jlccs.org
SERVER_PORT
80
SERVER_ADDR
172.16.32.173
REMOTE_PORT
20000
REMOTE_ADDR
175.29.35.217
SERVER_SOFTWARE
nginx/1.18.0
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/www.jlccs.org
DOCUMENT_URI
/index.php
REQUEST_URI
/index/Lists/index/catid/25.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/index/Lists/index/catid/25.html
SCRIPT_FILENAME
/www/wwwroot/www.jlccs.org/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1615047850.6398
REQUEST_TIME
1615047850
Environment Variablesempty
ThinkPHP Constants
ROOT_PATH
/www/wwwroot/www.jlccs.org
APP_PATH
/www/wwwroot/www.jlccs.org/application
WEB_URL
http://jlccs.org/
APP_HOST
APP_ROOT_DIR
DOCUMENTY_ROOT_DIR
/www/wwwroot/www.jlccs.org