[8] ErrorException in Index.php line 362

未定义数组下标: 0

  1. $posts_arr[$key]['abstract']=$value['abstract'];
  2. $posts_arr[$key]['content']=$value['content'];
  3. $posts_arr[$key]['thumb']=$value['thumb'];
  4. $posts_arr[$key]['thumbb']=$value['thumbb'];
  5. $posts_arr[$key]['keywords']=$value['keywords'];
  6. $posts_arr[$key]['styleshow']=$value['styleshow'];
  7. $posts_arr[$key]['target']="_blank";
  8. }
  9. $navspost=$posts_arr;
  10. return $this->fetch("company",["newsList"=>$navspost[0],"listCategory"=>$listCategory[0],"listCategorytwo"=>$listCategorytwo,"data"=>["id"=>isset($this->param['id'])?$this->param['id']:0]]);
  11. }
  12. }

Call Stack

  1. in Index.php line 362
  2. at Error::appError(8, 'Undefined offset: 0', '/usr/home/hyu6886410...', 362, ['cateT' => [], 'listCategorytwo' => [], 'listCategory' => [], ...]) in Index.php line 362
  3. at Index->dierredetail()
  4. at ReflectionMethod->invokeArgs(object(Index), []) in App.php line 364
  5. at App::invokeMethod([object(Index), 'dierredetail'], []) in App.php line 634
  6. at App::module(['frontend', 'index', 'dierredetail'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 478
  7. at App::exec(['type' => 'module', 'module' => ['frontend', 'index', 'dierredetail']], ['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/hyu6886410...') in index.php line 20

Environment Variables

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

Server/Request Data

DOCUMENT_ROOT
/usr/home/hyu6886410001/htdocs
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
HTTP_ACCEPT
*/*
HTTP_HOST
dierre.net.cn
HTTP_USER_AGENT
claudebot
PATH
/bin
PHPRC
/var/www/php56/hichina_ini/hyu6886410001
QUERY_STRING
REDIRECT_DOCUMENT_ROOT
/usr/home/hyu6886410001/htdocs
REDIRECT_GATEWAY_INTERFACE
CGI/1.1
REDIRECT_HTTPS
on
REDIRECT_HTTP_ACCEPT
*/*
REDIRECT_HTTP_HOST
dierre.net.cn
REDIRECT_HTTP_USER_AGENT
claudebot
REDIRECT_PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
REDIRECT_PATH_INFO
index/dierredetail/id/privacy-policy-perego/sid/11/newsid/88.html
REDIRECT_PATH_TRANSLATED
redirect:/index.php/id/privacy-policy-perego/sid/11/newsid/88.html
REDIRECT_QUERY_STRING
REDIRECT_REMOTE_ADDR
54.144.233.198
REDIRECT_REMOTE_PORT
58392
REDIRECT_REQUEST_METHOD
GET
REDIRECT_REQUEST_URI
/index/dierredetail/id/privacy-policy-perego/sid/11/newsid/88.html
REDIRECT_SCRIPT_FILENAME
/usr/home/hyu6886410001/htdocs/index
REDIRECT_SCRIPT_NAME
/index
REDIRECT_SERVER_ADDR
10.21.66.179
REDIRECT_SERVER_ADMIN
webmaster@hyu6886410001.my3w.com
REDIRECT_SERVER_NAME
dierre.net.cn
REDIRECT_SERVER_PORT
443
REDIRECT_SERVER_PROTOCOL
HTTP/1.1
REDIRECT_SERVER_SIGNATURE
REDIRECT_SERVER_SOFTWARE
Apache
REDIRECT_SSL_TLS_SNI
dierre.net.cn
REDIRECT_STATUS
200
REDIRECT_TZ
Asia/Shanghai
REDIRECT_UNIQUE_ID
ZgWtWgoVQrMAOG1ksKMAAAAb
REDIRECT_URL
/index/dierredetail/id/privacy-policy-perego/sid/11/newsid/88.html
REMOTE_ADDR
54.144.233.198
REMOTE_PORT
58392
REQUEST_METHOD
GET
REQUEST_URI
/index/dierredetail/id/privacy-policy-perego/sid/11/newsid/88.html
SCRIPT_FILENAME
/usr/home/hyu6886410001/htdocs/index.php
SCRIPT_NAME
/index.php
SERVER_ADDR
10.21.66.179
SERVER_ADMIN
webmaster@hyu6886410001.my3w.com
SERVER_NAME
dierre.net.cn
SERVER_PORT
443
SERVER_PROTOCOL
HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
SSL_TLS_SNI
dierre.net.cn
TZ
Asia/Shanghai
UNIQUE_ID
ZgWtWgoVQrMAOG1ksKMAAAAb
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711648090.5956
REQUEST_TIME
1711648090
PATH_INFO
index/dierredetail/id/privacy-policy-perego/sid/11/newsid/88.html
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/usr/home/hyu6886410001/htdocs/application/
RUNTIME_PATH
/usr/home/hyu6886410001/htdocs/data/runtime/
VENDOR_PATH
/usr/home/hyu6886410001/htdocs/coreframe/vendor/
THINK_VERSION
5.0.20
THINK_START_TIME
1711648090.5966
THINK_START_MEM
223744
EXT
.php
DS
/
THINK_PATH
/usr/home/hyu6886410001/htdocs/coreframe/thinkphp/
LIB_PATH
/usr/home/hyu6886410001/htdocs/coreframe/thinkphp/library/
CORE_PATH
/usr/home/hyu6886410001/htdocs/coreframe/thinkphp/library/think/
TRAIT_PATH
/usr/home/hyu6886410001/htdocs/coreframe/thinkphp/library/traits/
ROOT_PATH
/usr/home/hyu6886410001/htdocs/
EXTEND_PATH
/usr/home/hyu6886410001/htdocs/extend/
LOG_PATH
/usr/home/hyu6886410001/htdocs/data/runtime/log/
CACHE_PATH
/usr/home/hyu6886410001/htdocs/data/runtime/cache/
TEMP_PATH
/usr/home/hyu6886410001/htdocs/data/runtime/temp/
CONF_PATH
/usr/home/hyu6886410001/htdocs/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
BEHAVIOR_PATH
app\common\behavior\
MODULE_COMMON_NAME
common
LAYER_LOGIC_NAME
logic
LAYER_MODEL_NAME
model
LAYER_SERVICE_NAME
service
LAYER_CONTROLLER_NAME
controller
RESULT_SUCCESS
success
RESULT_ERROR
error
RESULT_REDIRECT
redirect
RESULT_MESSAGE
message
RESULT_URL
url
RESULT_DATA
data
DATA_STATUS
status
DATA_NORMAL
1
DATA_DISABLE
0
DATA_DELETE
-1
DATA_CREATE_TIME
create_time
DATA_UPDATE_TIME
update_time
NOW_TIME
1711648090
ADMINISTRATOR_ID
1
DATA_ENCRYPT_KEY
faWiUNcHEA1X2txthsk4WVU4Ztq1sseK
TPFRAME_VERSION
tpframe_v3.2
ADDON_DIR_NAME
addon
ADDON_PATH
/usr/home/hyu6886410001/htdocs/addon/
SOURCE_DIR_PATH
coreframe/source/
TPFRAME_DIR_NAME
tpfcore
TPFRAME_PATH
/usr/home/hyu6886410001/htdocs/coreframe/source/tpfcore/
PACKAGE_PATH
coreframe/package
PUBLIC_PATH
/usr/home/hyu6886410001/htdocs/data/assets/
UPLOAD_PATH
/usr/home/hyu6886410001/htdocs/data/uploads/
SITE_PATH
http://dierre.net.cn
UPLOAD_PATH_RELATIVE
http://dierre.net.cn/data/uploads/
PICTURE_PATH
/usr/home/hyu6886410001/htdocs/data/uploads/pics/
FRONTEND_THEME
default
HTML_CACHE_ON
false
DB_PREFIX
tpf_
DB_LIST_ROWS
10
CACHE_PREFIX
cache_info_
CACHE_VERSION_NAME
version
CACHE_TAGS_NAME
cache_info_tags
IS_POST
false
IS_GET
true
IS_AJAX
false
MODULE_NAME
frontend
CONTROLLER_NAME
Index
ACTION_NAME
dierredetail
URL
index/dierredetail
URL_MODULE
frontend/index/dierredetail