[8] ErrorException in Index.php line 178

未定义变量: typetitle

  1. case 'djfc':
  2. $type = 6;
  3. $typetitle = '党建风采';
  4. break;
  5. default:
  6. $type = 1;
  7. break;
  8. }
  9. $this->assign("type", $type);
  10. $this->assign("typetitle", $typetitle);
  11. }
  12. else{
  13. $type = 1;
  14. $this->assign("type", $type);
  15. $this->assign("typetitle", '新闻动态');
  16. }
  17. $this->assign("toptitle", "动态公告_广西必威体育平台注册工程管理betway必威官网手机版下载有限公司");
  18. $limit = 6;
  19. $offset = (1 - 1) * $limit;

Call Stack

  1. in Index.php line 178
  2. at Error::appError(8, 'Undefined variable: ...', '/home/wwwroot/gw/app...', 178, ['config' => object(OptionsModel), 'param' => ['type' => 'zzjs'], 'type' => 1]) in Index.php line 178
  3. at Index->newss()
  4. at ReflectionMethod->invokeArgs(object(Index), []) in App.php line 343
  5. at App::invokeMethod([object(Index), 'newss'], []) in App.php line 613
  6. at App::module([null, 'index', 'newss'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 457
  7. at App::exec(['type' => 'module', 'module' => [null, 'index', 'newss'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  8. at App::run() in start.php line 19
  9. at require('/home/wwwroot/gw/thi...') in index.php line 31

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/home/wwwroot/gw/public/index.php
QUERY_STRING
s=index/newss/zzjs.html
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/index/newss/zzjs.html
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/home/wwwroot/gw/public
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.14.0
REMOTE_ADDR
154.92.239.132
REMOTE_PORT
20000
SERVER_ADDR
120.77.238.100
SERVER_PORT
80
SERVER_NAME
www.gxhtx.com
REDIRECT_STATUS
200
PHP_ADMIN_VALUE
open_basedir=NULL
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
HTTP_HOST
gxhtx.com
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
deflate, gzip
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1591316142.6679
REQUEST_TIME
1591316142
PATH_INFO
index/newss/zzjs.html
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/home/wwwroot/gw/public/../application/
RUNTIME_PATH
/home/wwwroot/gw/public/../runtime/
APP_DEBUG
false
EXTEND_PATH
/home/wwwroot/gw/public/../extend/
THINK_VERSION
5.0.20
THINK_START_TIME
1591316142.6684
THINK_START_MEM
261544
EXT
.php
DS
/
THINK_PATH
/home/wwwroot/gw/thinkphp/
LIB_PATH
/home/wwwroot/gw/thinkphp/library/
CORE_PATH
/home/wwwroot/gw/thinkphp/library/think/
TRAIT_PATH
/home/wwwroot/gw/thinkphp/library/traits/
ROOT_PATH
/home/wwwroot/gw/
VENDOR_PATH
/home/wwwroot/gw/vendor/
LOG_PATH
/home/wwwroot/gw/public/../runtime/log/
CACHE_PATH
/home/wwwroot/gw/public/../runtime/cache/
TEMP_PATH
/home/wwwroot/gw/public/../runtime/temp/
CONF_PATH
/home/wwwroot/gw/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false