[8] ErrorException in Index.php line 2404

未定义数组下标: 0

  1. $order = 'is_top desc,is_special desc,sales_status asc,createtime desc';
  2. $limit = $this->request->param('limit',1);
  3. $page = $this->request->param('page',1);
  4. $source_info = $this->mfjx->local_table_from_where($table,$where,$limit,$page,$order);
  5. foreach ($source_info['list'] as $key => &$value) {
  6. $value['total_price'] = round($value['total_price']/10000,2);
  7. }
  8. //特价房信息获取
  9. $special_id = $source_info['list'][0]['special_id'];
  10. if($special_id > 0){
  11. $table_s = 'estate_special_offer';
  12. $where_s = array('id' => $special_id);
  13. $special_info = $this->mfjx->city_table_from_where('estate_special_offer',$where_s,1,1,'createtime desc','starttime,endtime');
  14. $this->view->assign("special_info", $special_info['list']);
  15. }
  16. $this->view->assign("source_info", $source_info['list']);
  17. $master_id = $source_info['list'][0]['master_id'];

Call Stack

  1. in Index.php line 2404
  2. at Error::appError(8, 'Undefined offset: 0', '/home/www/mf720.com/...', 2404, ['source_id' => '303620', 'aid' => 0, 'type' => 'feitjf', ...]) in Index.php line 2404
  3. at Index->estate_special_detail()
  4. at ReflectionMethod->invokeArgs(object(Index), []) in App.php line 343
  5. at App::invokeMethod([object(Index), 'estate_special_detai...'], []) in App.php line 611
  6. at App::module(['index', 'index', 'estate_special_detai...'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  7. at App::exec(['type' => 'module', 'module' => ['index', 'index', 'estate_special_detai...']], ['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('/home/www/mf720.com/...') in index.php line 32

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
HTTP_HOST
cc.mf720.com
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
PATH_INFO
//estate_special_detail/id/303620.html
PHP_ADMIN_VALUE
open_basedir=/home/www/mf720.com/admin/public/:/tmp/:/proc/
REDIRECT_STATUS
200
SERVER_NAME
cc.mf720.com
SERVER_PORT
443
SERVER_ADDR
172.31.141.65
REMOTE_PORT
57462
REMOTE_ADDR
52.54.103.76
SERVER_SOFTWARE
nginx/1.14.1
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/home/www/mf720.com/admin/public
DOCUMENT_URI
/index.php
REQUEST_URI
/estate_special_detail/id/303620.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=//estate_special_detail/id/303620.html
SCRIPT_FILENAME
/home/www/mf720.com/admin/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711614967.2053
REQUEST_TIME
1711614967
argv
[ "s=\/\/estate_special_detail\/id\/303620.html" ]
argc
1

Environment Variables

USER
www
HOME
/home/www
HTTP_HOST
cc.mf720.com
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
PATH_INFO
PHP_ADMIN_VALUE
open_basedir=/home/www/mf720.com/admin/public/:/tmp/:/proc/
REDIRECT_STATUS
200
SERVER_NAME
cc.mf720.com
SERVER_PORT
443
SERVER_ADDR
172.31.141.65
REMOTE_PORT
57462
REMOTE_ADDR
52.54.103.76
SERVER_SOFTWARE
nginx/1.14.1
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/home/www/mf720.com/admin/public
DOCUMENT_URI
/index.php
REQUEST_URI
/estate_special_detail/id/303620.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=//estate_special_detail/id/303620.html
SCRIPT_FILENAME
/home/www/mf720.com/admin/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711614967.2053
REQUEST_TIME
1711614967
argv
[ "s=\/\/estate_special_detail\/id\/303620.html" ]
argc
1

ThinkPHP Constants

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