[8] ErrorException in 4197bf32719c710b78dbe603d28e2434.php line 102

未定义数组索引: createtime

  1. <div class="i msg" style="animation-delay: 1.2s;">
  2. <div>留言</div>
  3. </div>
  4. </div>
  5. </div>
  6. <section id="page" class="article">
  7. <div class="box">
  8. <?php $id = 0 == 0 && isset($id) && $id > 0 ? $id : 0;$v= db("article")->join("cx_category", "cx_category.id=cx_article.type", "left")->where("cx_article.status", "normal")->where("cx_article.id", $id)->field("cx_article.id as id,cx_article.name as name,cx_article.image as image,cx_article.pc_content as pc_content,cx_article.source as source,cx_article.author as author,cx_article.createtime as createtime")->field("cx_category.name as type_name")->find();$v["images"] = isset($v["images"]) ? explode(",",$v["images"]) : [];?>
  9. <div class="title"><?php echo (isset($v['name']) && ($v['name'] !== '')?$v['name']:''); ?></div>
  10. <time>发布时间:<?php echo date('Y-m-d ',$v['createtime']); ?></time>
  11. <div class="content">
  12. <?php echo (isset($v['pc_content']) && ($v['pc_content'] !== '')?$v['pc_content']:''); ?>
  13. </div>
  14. </div>
  15. </section>
  16. <footer class="in">
  17. <div class="logo"></div>

Call Stack

  1. in 4197bf32719c710b78dbe603d28e2434.php line 102
  2. at Error::appError(8, 'Undefined index: cre...', '/www/www/cx_kuqi/run...', 102, ['cacheFile' => '/www/www/cx_kuqi/run...', 'vars' => ['user' => null, 'site' => ['name' => '新利18体育|app', 'beian' => '', 'cdnurl' => '', ...], 'config' => ['site' => ['name' => '新利18体育|app', 'cdnurl' => '', 'version' => 1571772696, ...], 'upload' => ['cdnurl' => '', 'uploadurl' => 'ajax/upload', 'bucket' => 'local', ...], 'modulename' => 'index', ...], ...], 'user' => null, ...]) in 4197bf32719c710b78dbe603d28e2434.php line 102
  3. at include('/www/www/cx_kuqi/run...') in File.php line 53
  4. at File->read('/www/www/cx_kuqi/run...', ['user' => null, 'site' => ['name' => '新利18体育|app', 'beian' => '', 'cdnurl' => '', ...], 'config' => ['site' => ['name' => '新利18体育|app', 'cdnurl' => '', 'version' => 1571772696, ...], 'upload' => ['cdnurl' => '', 'uploadurl' => 'ajax/upload', 'bucket' => 'local', ...], 'modulename' => 'index', ...], ...]) in Template.php line 188
  5. at Template->fetch('/www/www/cx_kuqi/pub...', ['user' => null, 'site' => ['name' => '新利18体育|app', 'beian' => '', 'cdnurl' => '', ...], 'config' => ['site' => ['name' => '新利18体育|app', 'cdnurl' => '', 'version' => 1571772696, ...], 'upload' => ['cdnurl' => '', 'uploadurl' => 'ajax/upload', 'bucket' => 'local', ...], 'modulename' => 'index', ...], ...], []) in Think.php line 86
  6. at Think->fetch('/www/www/cx_kuqi/pub...', ['user' => null, 'site' => ['name' => '新利18体育|app', 'beian' => '', 'cdnurl' => '', ...], 'config' => ['site' => ['name' => '新利18体育|app', 'cdnurl' => '', 'version' => 1571772696, ...], 'upload' => ['cdnurl' => '', 'uploadurl' => 'ajax/upload', 'bucket' => 'local', ...], 'modulename' => 'index', ...], ...], []) in View.php line 163
  7. at View->fetch('', ['user' => null, 'site' => ['name' => '新利18体育|app', 'beian' => '', 'cdnurl' => '', ...], 'config' => ['site' => ['name' => '新利18体育|app', 'cdnurl' => '', 'version' => 1571772696, ...], 'upload' => ['cdnurl' => '', 'uploadurl' => 'ajax/upload', 'bucket' => 'local', ...], 'modulename' => 'index', ...], ...], ['__ROOT__' => '/', '__URL__' => '/index/index', '__STATIC__' => '/static', ...], []) in Controller.php line 120
  8. at Controller->fetch() in Index.php line 140
  9. at Index->article()
  10. at ReflectionMethod->invokeArgs(object(Index), []) in App.php line 343
  11. at App::invokeMethod([object(Index), 'article'], []) in App.php line 613
  12. at App::module(['index', 'index', 'article'], ['app_host' => '', 'app_debug' => '1', 'app_trace' => '', ...], true) in App.php line 456
  13. at App::exec(['type' => 'module', 'module' => ['index', 'index', 'article']], ['app_host' => '', 'app_debug' => '1', 'app_trace' => '', ...]) in App.php line 139
  14. at App::run() in start.php line 19
  15. at require('/www/www/cx_kuqi/thi...') in index.php line 23

Environment Variables

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

Server/Request Data

USER
nobody
HOME
/
PHP_APP_DEBUG
1
PHP_APP_TRACE
PHP_DATABASE_HOSTNAME
127.0.0.1
PHP_DATABASE_DATABASE
cx_kuqi
PHP_DATABASE_USERNAME
root
PHP_DATABASE_PASSWORD
PHP_DATABASE_HOSTPORT
3306
PHP_DATABASE_PREFIX
cx_
HTTP_ACCEPT_ENCODING
deflate, gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.kokeekids.com
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
REDIRECT_STATUS
200
SERVER_NAME
kokeekids.com
SERVER_PORT
80
SERVER_ADDR
172.17.117.191
REMOTE_PORT
20002
REMOTE_ADDR
142.111.84.112
SERVER_SOFTWARE
nginx/1.15.8
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/www/cx_kuqi/public
DOCUMENT_URI
/index.php/index/index/article/id/91/cat_id/67/category_id/0.html
REQUEST_URI
/index/index/article/id/91/cat_id/67/category_id/0.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
PATH_TRANSLATED
/www/www/cx_kuqi/public/index/index/article/id/91/cat_id/67/category_id/0.html
PATH_INFO
/index/index/article/id/91/cat_id/67/category_id/0.html
SCRIPT_FILENAME
/www/www/cx_kuqi/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/index/index/article/id/91/cat_id/67/category_id/0.html
REQUEST_TIME_FLOAT
1571772695.9952
REQUEST_TIME
1571772695
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/www/cx_kuqi/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1571772695.9956
THINK_START_MEM
366864
EXT
.php
DS
/
THINK_PATH
/www/www/cx_kuqi/thinkphp/
LIB_PATH
/www/www/cx_kuqi/thinkphp/library/
CORE_PATH
/www/www/cx_kuqi/thinkphp/library/think/
TRAIT_PATH
/www/www/cx_kuqi/thinkphp/library/traits/
ROOT_PATH
/www/www/cx_kuqi/
EXTEND_PATH
/www/www/cx_kuqi/extend/
VENDOR_PATH
/www/www/cx_kuqi/vendor/
RUNTIME_PATH
/www/www/cx_kuqi/runtime/
LOG_PATH
/www/www/cx_kuqi/runtime/log/
CACHE_PATH
/www/www/cx_kuqi/runtime/cache/
TEMP_PATH
/www/www/cx_kuqi/runtime/temp/
CONF_PATH
/www/www/cx_kuqi/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ADDON_PATH
/www/www/cx_kuqi/addons/