[0] ThrowableError in Second.php line 189

致命错误: Call to a member function toArray() on array

  1. $this->assign('chaoxiang', $this->getAttrName(12, $info['chaoxiang']));
  2. $this->assign('peitao', $this->getAttrName(13, $info['peitao']));
  3. $this->assign('csxz', $this->getAttrName(43, $info['csxz']));
  4. $this->assign('estate_type', $this->getAttrName(7, $estate_info['estate_type']));
  5. //$this->assign('house_type',cache('linkmenu_7')['cate']);
  6. // $info = empty($info) ? array():$info->toArray();
  7. // $info = $this->eraser($info);
  8. $info = $info->toArray();
  9. $this->assign('house_type_name', cache('linkmenu_7')['cate'][$info[house_type]][name]);
  10. //$info['biaoqian'] = explode(',',$info['label']);
  11. // echo"<pre>";
  12. // print_r($estate_miaoshu);

Call Stack

  1. in Second.php line 189
  2. at Second->detail()
  3. at ReflectionMethod->invokeArgs(object(Second), []) in App.php line 343
  4. at App::invokeMethod([object(Second), 'detail'], []) in App.php line 612
  5. at App::module([null, 'Second', 'detail'], ['app_debug' => true, 'app_trace' => false, 'app_status' => '', ...], false) in App.php line 456
  6. at App::exec(['type' => 'module', 'module' => [null, 'Second', 'detail'], 'convert' => false], ['app_debug' => true, 'app_trace' => false, 'app_status' => '', ...]) in App.php line 139
  7. at App::run() in start.php line 18
  8. at require('/home/php/landzg_web...') in index.php line 17

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

cityInfo
think:{"id":"1","name":"%E5%8D%97%E5%AE%81","initials":"N","alias":"nn","pid":0,"spid":"0","ordid":"255","status":"1","seo_title":"","seo_keys":"","seo_desc":"","domain":"nn","is_hot":"1","default":"1","zuobiao":"108.328589%2C22.8189"}
Session
empty

Server/Request Data

USER
apache
HOME
/usr/share/httpd
HTTP_HOST
nn.landzg.com
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
REDIRECT_STATUS
200
SERVER_NAME
landzg.com
SERVER_PORT
80
SERVER_ADDR
10.1.1.83
REMOTE_PORT
46070
REMOTE_ADDR
54.160.133.33
SERVER_SOFTWARE
nginx/1.20.1
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/home/php/landzg_web/public
DOCUMENT_URI
/index.php/esf/26029.html
REQUEST_URI
/esf/26029.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
PATH_TRANSLATED
/home/php/landzg_web/public/esf/26029.html
PATH_INFO
/esf/26029.html
SCRIPT_FILENAME
/home/php/landzg_web/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/esf/26029.html
REQUEST_TIME_FLOAT
1711658498.7876
REQUEST_TIME
1711658498
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/home/php/landzg_web/public/../application/
HX_PATH
/home/php/landzg_web/public/../extend/
THINK_VERSION
5.0.9
THINK_START_TIME
1711658498.7878
THINK_START_MEM
392664
EXT
.php
DS
/
THINK_PATH
/home/php/landzg_web/thinkphp/
LIB_PATH
/home/php/landzg_web/thinkphp/library/
CORE_PATH
/home/php/landzg_web/thinkphp/library/think/
TRAIT_PATH
/home/php/landzg_web/thinkphp/library/traits/
ROOT_PATH
/home/php/landzg_web/
EXTEND_PATH
/home/php/landzg_web/extend/
VENDOR_PATH
/home/php/landzg_web/vendor/
RUNTIME_PATH
/home/php/landzg_web/runtime/
LOG_PATH
/home/php/landzg_web/runtime/log/
CACHE_PATH
/home/php/landzg_web/runtime/cache/
TEMP_PATH
/home/php/landzg_web/runtime/temp/
CONF_PATH
/home/php/landzg_web/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false