金沙城中心全部网址3983- 主頁欢迎您

[8] ErrorException in Product.php line 138

未定义数组下标: 0

  1. foreach($lidArray as $key => $lidData){
  2. $lmArray[$key]['name'] = $lm -> where('id',$lidData) -> column('lname');
  3. $lmArray[$key]['link'] = $lm -> where('id',$lidData) -> column('link');
  4. }
  5. $this -> assign('lmData',$lmArray);
  6. }
  7. $pcat = new Pcats();
  8. $dichanArray = $pcat -> where('ppid',92) -> select();
  9. $this -> assign('lmId',$lmId[0]);
  10. $this -> assign('dichanData',$dichanArray);
  11. $this -> assign('lmAliasName',$lmAliasName);
  12. $this -> assign('havaChildren',$havaChildren);
  13. $this -> assign('cname',$cname[0]);
  14. return $this -> fetch();
  15. }
  16. public function page(){
  17. $id = input('id');

Call Stack

  1. in Product.php line 138
  2. at Error::appError(8, 'Undefined offset: 0', '/www/wwwroot/jinyu/a...', 138, ['cgid' => '101', 'pcat' => object(Pcats), 'cid' => [], ...]) in Product.php line 138
  3. at Product->category()
  4. at ReflectionMethod->invokeArgs(object(Product), []) in App.php line 343
  5. at App::invokeMethod([object(Product), 'category'], []) in App.php line 611
  6. at App::module(['index', 'product', 'category'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  7. at App::exec(['type' => 'module', 'module' => ['index', 'product', 'category']], ['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('/www/wwwroot/jinyu/t...') in index.php line 23

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

PHPSESSID
iursc3dkt4d14mqg09es966cj6
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_COOKIE
PHPSESSID=iursc3dkt4d14mqg09es966cj6
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.nxjinyujituan.com
HTTP_USER_AGENT
Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
PATH_INFO
/index/product/category/id/101.html
REDIRECT_STATUS
200
SERVER_NAME
39.104.23.60
SERVER_PORT
80
SERVER_ADDR
172.24.84.215
REMOTE_PORT
59078
REMOTE_ADDR
170.130.206.134
SERVER_SOFTWARE
nginx/1.14.2
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/jinyu/public
DOCUMENT_URI
/index.php
REQUEST_URI
/index/product/category/id/101.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/index/product/category/id/101.html
SCRIPT_FILENAME
/www/wwwroot/jinyu/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1653577413.681
REQUEST_TIME
1653577413
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/jinyu/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1653577413.6814
THINK_START_MEM
368624
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/jinyu/thinkphp/
LIB_PATH
/www/wwwroot/jinyu/thinkphp/library/
CORE_PATH
/www/wwwroot/jinyu/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/jinyu/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/jinyu/
EXTEND_PATH
/www/wwwroot/jinyu/extend/
VENDOR_PATH
/www/wwwroot/jinyu/vendor/
RUNTIME_PATH
/www/wwwroot/jinyu/runtime/
LOG_PATH
/www/wwwroot/jinyu/runtime/log/
CACHE_PATH
/www/wwwroot/jinyu/runtime/cache/
TEMP_PATH
/www/wwwroot/jinyu/runtime/temp/
CONF_PATH
/www/wwwroot/jinyu/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
PHP_FLOAT_DIG
15
PHP_FLOAT_EPSILON
2.2204460492503E-16
PHP_FLOAT_MIN
2.2250738585072E-308
PHP_FLOAT_MAX
1.7976931348623E+308
PHP_OS_FAMILY
Linux
ADDON_PATH
/www/wwwroot/jinyu/addons/