[2] ErrorException in e75339e9893f8cc0c5329bcf36856188.php line 146

Illegal string offset 'weiba_name'

  1. </div>
  2. </header> <?php $items = model("Nav","logic")->getHeadNav($uid); ?><nav class="navbar" role="navigation"><ul class="nav navbar-nav"><li> <a class="<?php if(isset($wid) || isset($pid)): else: ?>action<?php endif; ?>" href="<?php echo url('index/app/index',array('uid'=>$uid)); ?>">首页</a></li> <?php if(is_array($items['data']) || $items['data'] instanceof \think\Collection || $items['data'] instanceof \think\Paginator): $i = 0;$__LIST__ = is_array($items['data']) ? array_slice($items['data'],0,3, true) : $items['data']->slice(0,3, true); if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li> <a class="<?php if(isset($wid)): if($wid == $vo['weiba_id']): ?>action<?php endif; elseif(isset($detail)): if($vo['weiba_id'] == $detail['weiba_id']): ?>action<?php endif; endif; ?>" href="<?php echo url('index/app/lists',array('uid'=>$uid,'wid'=>$vo['weiba_id'])); ?>">&nbsp;<?php echo $vo['weiba_name']; ?></a></li> <?php endforeach; endif; else: echo "" ;endif; if(is_array($items['data']) || $items['data'] instanceof \think\Collection || $items['data'] instanceof \think\Paginator): $i = 0;$__LIST__ = is_array($items['data']) ? array_slice($items['data'],5,4, true) : $items['data']->slice(5,4, true); if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li> <a class="<?php if(isset($wid)): if($wid == $vo['weiba_id']): ?>action<?php endif; elseif(isset($detail)): if($vo['weiba_id'] == $detail['weiba_id']): ?>action<?php endif; endif; ?>" href="<?php echo url('index/app/lists',array('uid'=>$uid,'wid'=>$vo['weiba_id'])); ?>">&nbsp;<?php echo $vo['weiba_name']; ?></a></li> <?php endforeach; endif; else: echo "" ;endif; ?></ul></nav>
  3. <div class="wrap">
  4. <div class="breadcrumbs">
  5. <span>
  6. 您当前位置:
  7. <a target="_blank" href="<?php echo url('index/app/index',['uid'=>$uid]); ?>"><?php echo $info['name']; ?></a>
  8. &gt;
  9. <a target="_blank" href="<?php echo url('index/app/lists',['uid'=>$uid,'wid'=>$detail['weiba_id']]); ?>"><?php echo $it['weiba_name']; ?></a>
  10. </span>
  11. </div>
  12. <div class="count r"><h2>专题</h2><p> <a target="_blank" href="<?php echo url('index/app/lists',array('uid'=>$uid,'wid'=>825)); ?>" class="r">更多</a></p><div> <?php $__LIST__ = model("Article","logic")->getArticleList($uid,1,1,825,0,0,0,0,0); if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $i = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?> <a target="_blank" href="<?php echo url('index/app/detail',array('uid'=>$item['uid'],'wid'=>$item['weiba_id'],'pid'=>$item['post_id'])); ?>"><img src="<?php echo $item['image_url']; ?>" alt="<?php echo $item['title']; ?>"><p><?php echo $item['title']; ?></p></a> <?php endforeach; endif; else: echo "" ;endif; ?></div><ul> <?php $__LIST__ = model("Article","logic")->getArticleList($uid,8,1,825,0,0,0,0,1); if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $i = 0;$__LIST__ = is_array($__LIST__) ? array_slice($__LIST__,1,null, true) : $__LIST__->slice(1,null, true); if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?><li> <a target="_blank" href="<?php echo url('index/app/detail',array('uid'=>$item['uid'],'wid'=>$item['weiba_id'],'pid'=>$item['post_id'])); ?>" class="l"><?php echo $item['title']; ?></a></li> <?php endforeach; endif; else: echo "" ;endif; ?></ul></div>
  13. <div class="arrow detail">
  14. <h1><?php echo $detail['title']; ?></h1>
  15. <div class="tail">
  16. <span class="marright20">发布时间:<?php echo $detail['time']; ?></span>
  17. <span class="marright20"> <i class="glyphicon glyphicon-eye-open"></i>
  18. &nbsp;&nbsp;<?php echo $detail['read_count']; ?>

Call Stack

  1. in e75339e9893f8cc0c5329bcf36856188.php line 146
  2. at Error::appError(2, 'Illegal string offse...', '/app/runtime/temp/e7...', 146, ['cacheFile' => '/app/runtime/temp/e7...', 'vars' => ['lang_index' => '内容', 'uid' => '211', 'wid' => null, ...], 'lang_index' => '内容', ...]) in e75339e9893f8cc0c5329bcf36856188.php line 146
  3. at include('/app/runtime/temp/e7...') in File.php line 53
  4. at File->read('/app/runtime/temp/e7...', ['lang_index' => '内容', 'uid' => '211', 'wid' => null, ...]) in Template.php line 188
  5. at Template->fetch('../template/index/ap...', ['lang_index' => '内容', 'uid' => '211', 'wid' => null, ...], []) in Think.php line 86
  6. at Think->fetch('../template/index/ap...', ['lang_index' => '内容', 'uid' => '211', 'wid' => null, ...], []) in View.php line 163
  7. at View->fetch('app/fazhi/detail', ['lang_index' => '内容', 'uid' => '211', 'wid' => null, ...], ['__ROOT__' => '', '__URL__' => '/index/app', '__STATIC__' => '/static', ...]) in View.php line 36
  8. at View->output('app/fazhi/detail') in Response.php line 309
  9. at Response->getContent() in Response.php line 94
  10. at Response->send() in start.php line 19
  11. at require('/app/thinkphp/start....') in index.php line 35

Environment Variables

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

Server/Request Data

app_host
www.binzhouw.com
api_host
http://api-bzw
api_wmes_path
http://wmes1:81/api/
api_path
http://api-bzw/api/
redishost
r-8vbdd5toe00wammv1b.redis.zhangbei.rds.aliyuncs.com
memcachedhost
m-8vbfe08c2f129b44.memcache.zhangbei.rds.aliyuncs.com
SESSION_DOMAIN
.binzhouw.com
app_debug
false
USER
www-data
HOME
/var/cache/nginx
HTTP_X5_UUID
1fdaecbb27763e0316e1b8996c655e23
HTTP_X_SINFO
on
HTTP_WL_PROXY_CLIENT_IP
52.91.255.225
HTTP_WEB_SERVER_TYPE
nginx
HTTP_X_CLIENT_IP
52.91.255.225
HTTP_X_TRUE_IP
52.91.255.225
HTTP_EAGLEEYE_RPCID
0.1
HTTP_ACCEPT
*/*
HTTP_EAGLEEYE_TRACEID
2760823517116577874804961e6177
HTTP_X_FORWARDED_CLUSTER
waf,
HTTP_X_FORWARDED_FOR
52.91.255.225
HTTP_USER_AGENT
claudebot
HTTP_X_FORWARDED_PROTO
https
HTTP_REMOTE_HOST
39.96.130.53
HTTP_X_REAL_IP
39.96.130.53
HTTP_CONNECTION
close
HTTP_HOST
www.binzhouw.com
REDIRECT_STATUS
200
SERVER_NAME
_
SERVER_PORT
80
SERVER_ADDR
172.20.2.252
REMOTE_PORT
43490
REMOTE_ADDR
172.20.2.57
SERVER_SOFTWARE
nginx/1.18.0
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.0
DOCUMENT_ROOT
/app/public
DOCUMENT_URI
/index.php
REQUEST_URI
/app/detail/211/167297.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=//app/detail/211/167297.html
SCRIPT_FILENAME
/app/public/index.php
PATH_INFO
//app/detail/211/167297.html
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711657787.5165
REQUEST_TIME
1711657787
Environment Variables
empty

ThinkPHP Constants

API_PATH_OLD
http://api2.binzhouw.com/api.php?app=api&mod=AppNumberPC&act=
API_PATH
http://api-bzw/api/
API_HOST
http://api-bzw
BZW_PATH
binzhouw.com
BZWHTTP_PATH
http://www.binzhouw.com
SESSION_NAME
bzruid
SESSION_IM
imtoken
JS_BASE
/static/
APP_PATH
/app/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1711657787.5166
THINK_START_MEM
401736
EXT
.php
DS
/
THINK_PATH
/app/thinkphp/
LIB_PATH
/app/thinkphp/library/
CORE_PATH
/app/thinkphp/library/think/
TRAIT_PATH
/app/thinkphp/library/traits/
ROOT_PATH
/app/
EXTEND_PATH
/app/extend/
VENDOR_PATH
/app/vendor/
RUNTIME_PATH
/app/runtime/
LOG_PATH
/app/runtime/log/
CACHE_PATH
/app/runtime/cache/
TEMP_PATH
/app/runtime/temp/
CONF_PATH
/app/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
API_CACHE_DATA_REDIS_NAME
hash:api:data
API_STATUS_REDIS_NAME
api:status
API_STATUS_EXPIRE
60
MODULE_NAME
index
CONTROLLER_NAME
App
ACTION_NAME
detail