[0] Exception in Lists.phphtml line 314

栏目不存在

  1. * @return Ambigous <\think\static, NULL, void, multitype:, PDOStatement, string, \think\Model, unknown, \PDOStatement, boolean, multitype:multitype: >
  2. */
  3. protected 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. private function post_check($value) {
  18. if(!get_magic_quotes_gpc()) {

Call Stack

  1. in Lists.phphtml line 314
  2. at Lists->loadCategoryModel('index.phphtml') in Lists.phphtml line 230
  3. at Lists->initCate() in Lists.phphtml line 17
  4. at Lists->initialize() in Controller.phphtml line 68
  5. at Controller->__construct(object(App))
  6. at ReflectionClass->newInstanceArgs([object(App)]) in Container.phphtml line 439
  7. at Container->invokeClass('app\index\controller...', []) in Container.phphtml line 284
  8. at Container->make('app\index\controller...') in Container.phphtml line 516
  9. at Container->__get('app\index\controller...') in App.phphtml line 725
  10. at App->controller('Lists', 'controller', false, 'Error') in Module.phphtml line 94
  11. at Module->exec() in Dispatch.phphtml line 168
  12. at Dispatch->run() in App.phphtml line 432
  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.phphtml line 185
  15. at Middleware->think\{closure}(object(Request))
  16. at call_user_func(object(Closure), object(Request)) in Middleware.phphtml line 130
  17. at Middleware->dispatch(object(Request)) in App.phphtml line 435
  18. at App->run() in index.phphtml line 25

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_USER_AGENT Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
HTTP_ACCEPT */*
HTTP_HOST www.shanghaivalve.com
PATH_INFO /index/Lists/index/catid/index.phphtml
REDIRECT_STATUS 200
SERVER_NAME www.shanghaivalve.com
SERVER_PORT 80
SERVER_ADDR 192.168.77.100
REMOTE_PORT 57858
REMOTE_ADDR 103.112.186.145
SERVER_SOFTWARE nginx/1.14.2
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/web.shanghaivalve.com
DOCUMENT_URI /index.phphtml/index/Lists/index/catid/
REQUEST_URI /index/Lists/index/catid/
SCRIPT_NAME /index.phphtml
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_FILENAME /www/wwwroot/web.shanghaivalve.com/index.phphtml
FCGI_ROLE RESPONDER
PHP_SELF /index.phphtml/index/Lists/index/catid/index.phphtml
REQUEST_TIME_FLOAT 1603380220.3888
REQUEST_TIME 1603380220
Environment Variablesempty
ThinkPHP Constants
ROOT_PATH /www/wwwroot/web.shanghaivalve.com
APP_PATH /www/wwwroot/web.shanghaivalve.com/application
WEB_URL //www.shanghaivalve.com/
APP_HOST
APP_ROOT_DIR
DOCUMENTY_ROOT_DIR /www/wwwroot/web.shanghaivalve.com
金沙2015电脑版kok下载职55kai。vip乐虎国际手机版网址千赢网页手机版