[8] ErrorException in Thematic.php line 50

未定义数组索引: createtime

  1. return $this->view->fetch();
  2. }
  3. public function details()
  4. {
  5. $this->getthematictype(); //获取分类列表
  6. $where['id'] = input('id');
  7. $row = ThematicModel::getThematic($where);
  8. $row['thematictypeTitle'] = model('ThematicType')->where(['id' => $row['thematictype_id']])->value('title');
  9. $row['createtime'] = date('Y-m-d', $row['createtime']);
  10. $this->assign('row', $row);
  11. return $this->view->fetch();
  12. }
  13. /**
  14. * 分类列表
  15. */
  16. public function getthematictype()
  17. {

Call Stack

  1. in Thematic.php line 50
  2. at Error::appError(8, 'Undefined index: cre...', '/usr/home/wh-aahkzqs...', 50, ['where' => ['id' => '2714'], 'row' => ['thematictypeTitle' => null]]) in Thematic.php line 50
  3. at Thematic->details()
  4. at ReflectionMethod->invokeArgs(object(Thematic), []) in App.php line 343
  5. at App::invokeMethod([object(Thematic), 'details'], []) in App.php line 606
  6. at App::module(['index', 'thematic', 'details'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 457
  7. at App::exec(['type' => 'module', 'module' => ['index', 'thematic', 'details']], ['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('/usr/home/wh-aahkzqs...') in index.php line 17

Environment Variables

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

Server/Request Data

DOCUMENT_ROOT
/usr/home/wh-aahkzqsnf3sne38oy4g/htdocs
GATEWAY_INTERFACE
CGI/1.1
HTTP_ACCEPT
*/*
HTTP_HOST
www.ejun.com.cn
HTTP_USER_AGENT
claudebot
PATH
/bin
PHPRC
/var/www/php56/hichina_ini/wh-aahkzqsnf3sne38oy4g
QUERY_STRING
s=/index/thematic/details/pid/9/id/2714.html
REDIRECT_DOCUMENT_ROOT
/usr/home/wh-aahkzqsnf3sne38oy4g/htdocs
REDIRECT_GATEWAY_INTERFACE
CGI/1.1
REDIRECT_HTTP_ACCEPT
*/*
REDIRECT_HTTP_HOST
www.ejun.com.cn
REDIRECT_HTTP_USER_AGENT
claudebot
REDIRECT_PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
REDIRECT_PATH_INFO
/thematic/details/pid/9/id/2714.html
REDIRECT_PATH_TRANSLATED
redirect:/index.php/details/pid/9/id/2714.html
REDIRECT_QUERY_STRING
s=/index/thematic/details/pid/9/id/2714.html
REDIRECT_REMOTE_ADDR
34.201.37.128
REDIRECT_REMOTE_PORT
38830
REDIRECT_REQUEST_METHOD
GET
REDIRECT_REQUEST_URI
/index/thematic/details/pid/9/id/2714.html
REDIRECT_SCRIPT_FILENAME
/usr/home/wh-aahkzqsnf3sne38oy4g/htdocs/index
REDIRECT_SCRIPT_NAME
/index
REDIRECT_SERVER_ADDR
10.19.114.17
REDIRECT_SERVER_ADMIN
webmaster@wh-aahkzqsnf3sne38oy4g.my3w.com
REDIRECT_SERVER_NAME
www.ejun.com.cn
REDIRECT_SERVER_PORT
80
REDIRECT_SERVER_PROTOCOL
HTTP/1.1
REDIRECT_SERVER_SIGNATURE
REDIRECT_SERVER_SOFTWARE
Apache
REDIRECT_STATUS
200
REDIRECT_TZ
Asia/Shanghai
REDIRECT_UNIQUE_ID
ZgVnBgoTchEACFrEYvgAAAAI
REDIRECT_URL
/index/thematic/details/pid/9/id/2714.html
REMOTE_ADDR
34.201.37.128
REMOTE_PORT
38830
REQUEST_METHOD
GET
REQUEST_URI
/index/thematic/details/pid/9/id/2714.html
SCRIPT_FILENAME
/usr/home/wh-aahkzqsnf3sne38oy4g/htdocs/index.php
SCRIPT_NAME
/index.php
SERVER_ADDR
10.19.114.17
SERVER_ADMIN
webmaster@wh-aahkzqsnf3sne38oy4g.my3w.com
SERVER_NAME
www.ejun.com.cn
SERVER_PORT
80
SERVER_PROTOCOL
HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
TZ
Asia/Shanghai
UNIQUE_ID
ZgVnBgoTchEACFrEYvgAAAAI
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711630086.2946
REQUEST_TIME
1711630086
PATH_INFO
/index/thematic/details/pid/9/id/2714.html
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/usr/home/wh-aahkzqsnf3sne38oy4g/htdocs/application/
THINK_VERSION
5.0.21
THINK_START_TIME
1711630086.2956
THINK_START_MEM
241144
EXT
.php
DS
/
THINK_PATH
/usr/home/wh-aahkzqsnf3sne38oy4g/htdocs/thinkphp/
LIB_PATH
/usr/home/wh-aahkzqsnf3sne38oy4g/htdocs/thinkphp/library/
CORE_PATH
/usr/home/wh-aahkzqsnf3sne38oy4g/htdocs/thinkphp/library/think/
TRAIT_PATH
/usr/home/wh-aahkzqsnf3sne38oy4g/htdocs/thinkphp/library/traits/
ROOT_PATH
/usr/home/wh-aahkzqsnf3sne38oy4g/htdocs/
EXTEND_PATH
/usr/home/wh-aahkzqsnf3sne38oy4g/htdocs/extend/
VENDOR_PATH
/usr/home/wh-aahkzqsnf3sne38oy4g/htdocs/vendor/
RUNTIME_PATH
/usr/home/wh-aahkzqsnf3sne38oy4g/htdocs/runtime/
LOG_PATH
/usr/home/wh-aahkzqsnf3sne38oy4g/htdocs/runtime/log/
CACHE_PATH
/usr/home/wh-aahkzqsnf3sne38oy4g/htdocs/runtime/cache/
TEMP_PATH
/usr/home/wh-aahkzqsnf3sne38oy4g/htdocs/runtime/temp/
CONF_PATH
/usr/home/wh-aahkzqsnf3sne38oy4g/htdocs/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
PHP_INT_MIN
-9223372036854775808
ADDON_PATH
/usr/home/wh-aahkzqsnf3sne38oy4g/htdocs/addons/