[8] ErrorException in 782932dbeac105144e3e9e396363e9ba.php line 323

Array to string conversion

  1. <div class="comment-row question-list clearfix">
  2. <div class="comment-row-content fl">
  3. <div class="comment-row-content" style="margin-top:5px;">
  4. <span>问</span><a href="<?php echo url('Question/detail',['id'=>$data['id']]); ?>" title="<?php echo htmlentities($data['content']); ?>"><?php echo htmlentities($data['content']); ?></a>
  5. </div>
  6. <div class="comment-reply-content" id="comment-reply-content-<?php echo htmlentities($data['id']); ?>">
  7. <?php $pid = $data['id']; $obj = model("answer");$obj = $obj->where("question_id = $pid and status = 1");$obj = $obj->order("create_time desc");$name = $obj->limit(5)->select();if(is_array( $name ) || $name instanceof \think\Collection || $name instanceof \think\Paginator ): $i = 0; $__LIST__ = $name;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?>
  8. <div class="comment-row clearfix">
  9. <div class="comment-row-avatar fl">
  10. <img src="<?php echo getAvatar($val['broker_id'],45); ?>" alt="<?php echo htmlentities($val['broker_name']); ?>">
  11. </div>
  12. <div class="comment-row-content fl">
  13. <div class="comment-row-time">
  14. <em class="username"><?php echo htmlentities($val['broker_name']); ?></em> <?php echo htmlentities(date('Y-m-d H:i:s',!is_numeric($val['create_time'])? strtotime($val['create_time']) : $val['create_time'])); ?>
  15. </div>
  16. <div class="comment-row-content">
  17. <?php echo htmlentities($val['content']); ?>
  18. </div>
  19. </div>

Call Stack

  1. in 782932dbeac105144e3e9e396363e9ba.php line 323
  2. at Error::appError(8, 'Array to string conv...', '/www/wwwroot/testjdd...', 323, ['cacheFile' => '/www/wwwroot/testjdd...', 'vars' => ['userInfo' => null, 'menu' => ['Index' => ['id' => 1, 'pid' => 0, 'title' => '首页', ...], 'Rental' => ['id' => 4, 'pid' => 0, 'title' => '法拍房', ...], 'News' => ['id' => 7, 'pid' => 0, 'title' => '资讯', ...], ...], 'seo' => ['title' => '...', 'keys' => '...', 'desc' => ''], ...], 'userInfo' => null, ...]) in 782932dbeac105144e3e9e396363e9ba.php line 323
  3. at include('/www/wwwroot/testjdd...') in File.php line 59
  4. at File->read('/www/wwwroot/testjdd...', ['userInfo' => null, 'menu' => ['Index' => ['id' => 1, 'pid' => 0, 'title' => '首页', ...], 'Rental' => ['id' => 4, 'pid' => 0, 'title' => '法拍房', ...], 'News' => ['id' => 7, 'pid' => 0, 'title' => '资讯', ...], ...], 'seo' => ['title' => '...', 'keys' => '...', 'desc' => ''], ...]) in Template.php line 226
  5. at Template->fetch('/www/wwwroot/testjdd...', ['userInfo' => null, 'menu' => ['Index' => ['id' => 1, 'pid' => 0, 'title' => '首页', ...], 'Rental' => ['id' => 4, 'pid' => 0, 'title' => '法拍房', ...], 'News' => ['id' => 7, 'pid' => 0, 'title' => '资讯', ...], ...], 'seo' => ['title' => '...', 'keys' => '...', 'desc' => ''], ...], []) in Think.php line 93
  6. at Think->fetch('/www/wwwroot/testjdd...', ['userInfo' => null, 'menu' => ['Index' => ['id' => 1, 'pid' => 0, 'title' => '首页', ...], 'Rental' => ['id' => 4, 'pid' => 0, 'title' => '法拍房', ...], 'News' => ['id' => 7, 'pid' => 0, 'title' => '资讯', ...], ...], 'seo' => ['title' => '...', 'keys' => '...', 'desc' => ''], ...], []) in View.php line 189
  7. at View->fetch('', ['userInfo' => null, 'menu' => ['Index' => ['id' => 1, 'pid' => 0, 'title' => '首页', ...], 'Rental' => ['id' => 4, 'pid' => 0, 'title' => '法拍房', ...], 'News' => ['id' => 7, 'pid' => 0, 'title' => '资讯', ...], ...], 'seo' => ['title' => '...', 'keys' => '...', 'desc' => ''], ...], []) in Controller.php line 161
  8. at Controller->fetch() in House.php line 87
  9. at House->detail()
  10. at ReflectionMethod->invokeArgs(object(House), []) in Container.php line 395
  11. at Container->invokeReflectMethod(object(House), object(ReflectionMethod), ['/loupan-5_html' => '', 'id' => '5', 'city' => '1', ...]) in Module.php line 132
  12. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  13. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  14. at Middleware->think\{closure}(object(Request))
  15. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  16. at Middleware->dispatch(object(Request), 'controller') in Module.php line 137
  17. at Module->exec() in Dispatch.php line 168
  18. at Dispatch->run() in App.php line 432
  19. at App->think\{closure}(object(Request), object(Closure), null)
  20. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  21. at Middleware->think\{closure}(object(Request))
  22. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  23. at Middleware->dispatch(object(Request)) in App.php line 435
  24. at App->run() in index.php line 18

Environment Variables

GET Data
/loupan-5_html
POST Dataempty
Filesempty
Cookies
cityInfo { "id": 1, "name": "\u5317\u4eac", "lng": "116.4133837", "lat": "39.91092455", "domain": "beijing", "seo_title": "", "seo_keys": "\u5317\u4eac\u6cd5\u62cd\u623f,\u5317\u4eac\u6cd5\u62cd\u7f51,\u53f8\u6cd5\u62cd\u5356\uff0c\u53f8\u6cd5\u62cd\u5356\u623f\u4ea7,\u6cd5\u62cd\u623f,\u5317\u4eac\u53f8\u6cd5\u62cd\u5356,\u5317\u4eac\u6cd5\u9662\u62cd\u5356,\u5317\u4eac\u53f8\u6cd5\u623f\u4ea7\u62cd\u5356,\u6dd8\u5b9d\u6cd5\u62cd,\u5317\u4eac\u4e8c\u624b\u623f,\u62cd\u5356\u7f51\u7ad9", "seo_desc": "" }
Sessionempty
Server/Request Data
USER www
HOME /home/www
SCRIPT_NAME /index.php
REQUEST_URI /loupan-5.html
QUERY_STRING /loupan-5.html
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_QUERY_STRING /loupan-5.html
REDIRECT_URL /loupan-5.html
REMOTE_PORT 56924
SCRIPT_FILENAME /www/wwwroot/testjdds/public/index.php
SERVER_ADMIN webmaster@example.com
CONTEXT_DOCUMENT_ROOT /www/wwwroot/testjdds/public/
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /www/wwwroot/testjdds/public/
REMOTE_ADDR 35.169.107.177
SERVER_PORT 443
SERVER_ADDR 172.28.6.67
SERVER_NAME fapaibb.com
SERVER_SOFTWARE Apache
SERVER_SIGNATURE <address>Apache Server at fapaibb.com Port 443</address>
LD_LIBRARY_PATH /www/server/apache/lib
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_HOST fapaibb.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
proxy-nokeepalive 1
SSL_TLS_SNI fapaibb.com
HTTPS on
REDIRECT_STATUS 200
REDIRECT_SSL_TLS_SNI fapaibb.com
REDIRECT_HTTPS on
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711670294.8737
REQUEST_TIME 1711670294
Environment Variablesempty
ThinkPHP Constants
QINIU_FUNCTIONS_VERSION 7.2.7