[8] ErrorException in Service.php line 68

未定义数组索引: keywords

  1. }
  2. //Banners
  3. $banners = DB::name('core_banners')->field('id,title,images,href')->where('type','1')->order('weight','desc')->limit(1)->select();
  4. //关键词
  5. $this->view->assign('banners', $banners);
  6. $this->view->assign('info', $info);
  7. $this->view->assign('title', $info["title"]);
  8. $this->view->assign('keywords', $info["keywords"]);
  9. $this->view->assign('description', $info["description"]);
  10. //导航栏
  11. $services = Db::name('cms_archives')->where(['newstype'=>$tid,'channel_id'=>9,'status'=>'normal'])->field('id,title,newstype')->limit(6)->order('weigh desc')->select();
  12. $this->view->assign('services', $services);
  13. $this->view->assign('tid', $tid);

Call Stack

  1. in Service.php line 68
  2. at Error::appError(8, 'Undefined index: key...', '/usr/home/wh-ahd27ah...', 68, ['tid' => 'index', 'id' => 0, 'info' => ['title' => null], ...]) in Service.php line 68
  3. at Service->index('index', 0)
  4. at ReflectionMethod->invokeArgs(object(Service), ['index', 0]) in App.php line 343
  5. at App::invokeMethod([object(Service), 'index'], []) in App.php line 611
  6. at App::module(['index', 'service', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 456
  7. at App::exec(['type' => 'module', 'module' => ['index', 'service', 'index'], '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('/usr/home/wh-ahd27ah...') in index.php line 24

Environment Variables

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

Server/Request Data

DOCUMENT_ROOT
/usr/home/wh-ahd27ahz2xswnvnlynx/htdocs
GATEWAY_INTERFACE
CGI/1.1
HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING
br,gzip
HTTP_ACCEPT_LANGUAGE
en-US,en;q=0.5
HTTP_CONNECTION
Keep-Alive
HTTP_HOST
www.qingqiucw.com
HTTP_USER_AGENT
CCBot/2.0 (https://commoncrawl.org/faq/)
PATH
/bin
PHPRC
/var/www/php70/hichina_ini/wh-ahd27ahz2xswnvnlynx
QUERY_STRING
REDIRECT_DOCUMENT_ROOT
/usr/home/wh-ahd27ahz2xswnvnlynx/htdocs
REDIRECT_GATEWAY_INTERFACE
CGI/1.1
REDIRECT_HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
REDIRECT_HTTP_ACCEPT_ENCODING
br,gzip
REDIRECT_HTTP_ACCEPT_LANGUAGE
en-US,en;q=0.5
REDIRECT_HTTP_CONNECTION
Keep-Alive
REDIRECT_HTTP_HOST
www.qingqiucw.com
REDIRECT_HTTP_USER_AGENT
CCBot/2.0 (https://commoncrawl.org/faq/)
REDIRECT_PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
REDIRECT_PATH_INFO
service/index/nid/8
REDIRECT_PATH_TRANSLATED
redirect:/index.php/nid/8
REDIRECT_QUERY_STRING
REDIRECT_REMOTE_ADDR
44.192.26.226
REDIRECT_REMOTE_PORT
51232
REDIRECT_REQUEST_METHOD
GET
REDIRECT_REQUEST_URI
/service/index/nid/8
REDIRECT_SCRIPT_FILENAME
/usr/home/wh-ahd27ahz2xswnvnlynx/htdocs/service
REDIRECT_SCRIPT_NAME
/service
REDIRECT_SCRIPT_URI
http://www.qingqiucw.com/service/index/nid/8
REDIRECT_SCRIPT_URL
/service/index/nid/8
REDIRECT_SERVER_ADDR
10.21.164.105
REDIRECT_SERVER_ADMIN
webmaster@wh-ahd27ahz2xswnvnlynx.my3w.com
REDIRECT_SERVER_NAME
www.qingqiucw.com
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
ZtyMXAoVpGkAG-KA028AAAAJ
REDIRECT_URL
/service/index/nid/8
REMOTE_ADDR
44.192.26.226
REMOTE_PORT
51232
REQUEST_METHOD
GET
REQUEST_URI
/service/index/nid/8
SCRIPT_FILENAME
/usr/home/wh-ahd27ahz2xswnvnlynx/htdocs/index.php
SCRIPT_NAME
/index.php
SCRIPT_URI
http://www.qingqiucw.com/service/index/nid/8
SCRIPT_URL
/service/index/nid/8
SERVER_ADDR
10.21.164.105
SERVER_ADMIN
webmaster@wh-ahd27ahz2xswnvnlynx.my3w.com
SERVER_NAME
www.qingqiucw.com
SERVER_PORT
80
SERVER_PROTOCOL
HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
TZ
Asia/Shanghai
UNIQUE_ID
ZtyMXAoVpGkAG-KA028AAAAJ
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1725729884.5365
REQUEST_TIME
1725729884
PATH_INFO
service/index/nid/8
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/usr/home/wh-ahd27ahz2xswnvnlynx/htdocs/application/
CONSTANT_NAME
about
THINK_VERSION
5.0.24
THINK_START_TIME
1725729914.5396
THINK_START_MEM
352240
EXT
.php
DS
/
THINK_PATH
/usr/home/wh-ahd27ahz2xswnvnlynx/htdocs/thinkphp/
LIB_PATH
/usr/home/wh-ahd27ahz2xswnvnlynx/htdocs/thinkphp/library/
CORE_PATH
/usr/home/wh-ahd27ahz2xswnvnlynx/htdocs/thinkphp/library/think/
TRAIT_PATH
/usr/home/wh-ahd27ahz2xswnvnlynx/htdocs/thinkphp/library/traits/
ROOT_PATH
/usr/home/wh-ahd27ahz2xswnvnlynx/htdocs/
EXTEND_PATH
/usr/home/wh-ahd27ahz2xswnvnlynx/htdocs/extend/
VENDOR_PATH
/usr/home/wh-ahd27ahz2xswnvnlynx/htdocs/vendor/
RUNTIME_PATH
/usr/home/wh-ahd27ahz2xswnvnlynx/htdocs/runtime/
LOG_PATH
/usr/home/wh-ahd27ahz2xswnvnlynx/htdocs/runtime/log/
CACHE_PATH
/usr/home/wh-ahd27ahz2xswnvnlynx/htdocs/runtime/cache/
TEMP_PATH
/usr/home/wh-ahd27ahz2xswnvnlynx/htdocs/runtime/temp/
CONF_PATH
/usr/home/wh-ahd27ahz2xswnvnlynx/htdocs/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
PHP_OS_FAMILY
Linux
U_IDNA_PROHIBITED_ERROR
66560
U_IDNA_ERROR_START
66560
U_IDNA_UNASSIGNED_ERROR
66561
U_IDNA_CHECK_BIDI_ERROR
66562
U_IDNA_STD3_ASCII_RULES_ERROR
66563
U_IDNA_ACE_PREFIX_ERROR
66564
U_IDNA_VERIFICATION_ERROR
66565
U_IDNA_LABEL_TOO_LONG_ERROR
66566
U_IDNA_ZERO_LENGTH_LABEL_ERROR
66567
U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR
66568
U_IDNA_ERROR_LIMIT
66569
U_STRINGPREP_PROHIBITED_ERROR
66560
U_STRINGPREP_UNASSIGNED_ERROR
66561
U_STRINGPREP_CHECK_BIDI_ERROR
66562
IDNA_DEFAULT
0
IDNA_ALLOW_UNASSIGNED
1
IDNA_USE_STD3_RULES
2
IDNA_CHECK_BIDI
4
IDNA_CHECK_CONTEXTJ
8
IDNA_NONTRANSITIONAL_TO_ASCII
16
IDNA_NONTRANSITIONAL_TO_UNICODE
32
INTL_IDNA_VARIANT_2003
0
INTL_IDNA_VARIANT_UTS46
1
IDNA_ERROR_EMPTY_LABEL
1
IDNA_ERROR_LABEL_TOO_LONG
2
IDNA_ERROR_DOMAIN_NAME_TOO_LONG
4
IDNA_ERROR_LEADING_HYPHEN
8
IDNA_ERROR_TRAILING_HYPHEN
16
IDNA_ERROR_HYPHEN_3_4
32
IDNA_ERROR_LEADING_COMBINING_MARK
64
IDNA_ERROR_DISALLOWED
128
IDNA_ERROR_PUNYCODE
256
IDNA_ERROR_LABEL_HAS_DOT
512
IDNA_ERROR_INVALID_ACE_LABEL
1024
IDNA_ERROR_BIDI
2048
IDNA_ERROR_CONTEXTJ
4096
ADDON_PATH
/usr/home/wh-ahd27ahz2xswnvnlynx/htdocs/addons/