[2] ErrorException in 329be44f02a26ad82560989439e7e8cb.php line 19

Illegal string offset 'weiba_name'

  1. <div id="top" class="clearfix top-nav xs"><ul class="pull-left topbar"><li> <a href="<?php echo url('index/index/index'); ?>">滨州网首页</a></li><li> <a href="<?php echo url('index/simple/index'); ?>">简版</a></li><li class="bar-hover"> <a href="javascript:">手机版 <span class="icon-right"><i>◇</i></span></a> <span class="qrcode trans"><img src="/static/v1/imgs/qrcode_m.jpg" alt="滨州网手机版二维码"/></span></li><li class="bar-hover"> <a href="javascript:">官方微信 <span class="icon-right"><i>◇</i></span></a> <span class="qrcode"><img src="/static/v1/imgs/qrcode_wechat.jpg" alt="滨州网官方微信二维码"/></span></li><li class="bar-hover"> <a href="javascript:">官方微博 <span class="icon-right"><i>◇</i></span></a> <span class="qrcode"><img src="/static/v1/imgs/qrcode_weibo.jpg" alt="滨州网官方微博"/></span></li><li> <a href="<?php echo url('index/about/app_download'); ?>" target="_blank">客户端</a></li></ul> <!--<?php if(!config('app_debug')): $myController=controller("weather","controller");$dinfo=$myController->weather();echo $dinfo; endif; ?>--><ul class="pull-right usrbar"> <?php if(empty(session(SESSION_NAME)) || ((session(SESSION_NAME) instanceof \think\Collection || session(SESSION_NAME) instanceof \think\Paginator ) && session(SESSION_NAME)->isEmpty())): ?><li class="usr-login lg-active"> <a href="<?php echo url('index/user/login'); ?>?ref=<?php echo urlencode(get_url()); ?>" id="usr-login">登录</a></li><li class="usr-login"> <a target="_blank" href="<?php echo url('index/user/sign'); ?>" id="usr-sign">注册</a></li> <?php else: $loguser = model('User','logic')->getUser(session(SESSION_NAME)); ?><li class="usr-login login-head"> <a href="<?php echo url('index/my/index'); ?>" id="usr-login"><img src="<?php echo (isset($loguser['avatar']) && ($loguser['avatar'] !== '')?$loguser['avatar']:''); ?>"> <span><?php echo (isset($loguser['nickname']) && ($loguser['nickname'] !== '')?$loguser['nickname']:'未命名'); ?></span></a></li><li class="usr-login"> <a class="user-logout" id="usr-sign">退出</a></li> <?php endif; ?><li class="more-wrap"> <a href="javascript:">更多 <span class="icon-right"><i>◇</i></span></a><ul class="text-center header-tools trans"><li> <a href="<?php echo url('index/company/bzhagree'); ?>" target="_blank">滨州号入驻</a></li><li> <a href="//binzhouhao.binzhouw.com/" target="_blank">滨州号登录</a></li><li> <a href="<?php echo url('index/app/yyhagree'); ?>" target="_blank">应用号申请</a></li><li> <a href="//yingyong.binzhouw.com/" target="_blank">应用号登录</a></li><li> <a href="<?php echo url('index/circle/bzqagree'); ?>" target="_blank">滨州圈创建</a></li><li> <a href="//binzhouquan.binzhouw.com/" target="_blank">滨州圈登录</a></li><li> <a href="<?php echo url('index/helper/helper'); ?>" target="_blank">帮助中心</a></li><li> <a href="<?php echo url('index/helper/homepage'); ?>" target="_blank">设为首页</a></li><li> <a href="javascript:" onclick="layer.msg('请按 Ctrl+D 收藏滨州网');">收藏本站</a></li><li> <a href="<?php echo url('index/helper/shortcut'); ?>">另存为桌面</a></li></ul></li><li id="toggle-head-nav" data-toggle-elm="#subnav" class="dropdown" data-toggle="collapse" data-target="#subnav"><i class="drop-icon css-sprite" title="关闭快捷方式"></i><i class="up-icon css-sprite" title="打开快捷方式" style="display:none;"></i></li></ul></div> <div class="main"><div class="logo"> <a href="<?php echo url('index/app/index',array('uid'=>245)); ?>" title="滨州时评"><img src="//images.binzhouw.com/binzhouw-oss/tpl_attachment/shiping/logo-bin.png" alt="滨州时评"><span></span></a></div></div><nav class="nav"><ul class="main clearfix"> <?php if(isset($wid) || isset($pid)): ?><li> <a href="<?php echo url('index/app/index',array('uid'=>245)); ?>" title="首页">首页</a></li> <?php else: ?><li class="first"> <a href="<?php echo url('index/app/index',array('uid'=>245)); ?>" title="首页">首页</a></li> <?php endif; $items = model("Nav","logic")->getHeadNav($uid); 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,7, true) : $items['data']->slice(0,7, true); if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li class="
  2. <?php if(!isset($pid)): if($wid == $vo['weiba_id']): ?>nav-current<?php endif; else: if($vo['weiba_id'] == $detail['weiba_id']): ?>nav-current<?php endif; endif; ?>"> <a href="<?php echo url('index/app/lists',['uid'=>$uid,'wid'=>$vo['weiba_id']]); ?>" title="<?php echo $vo['weiba_name']; ?>"><?php echo $vo['weiba_name']; ?></a></li> <?php endforeach; endif; else: echo "" ;endif; ?></ul></nav>
  3. <!-- 文章 uid 及 pid -->
  4. <input type="hidden" id="uid" value="<?php echo $uid; ?>">
  5. <input type="hidden" id="pid" value="<?php echo \think\Request::instance()->param('pid'); ?>">
  6. <input type="hidden" id="wid" value="<?php echo $detail['weiba_id']; ?>">
  7. <div class="main breadcrumbs" id="breadcrumbs">
  8. <span><a href="<?php echo url('index/app/index',['uid'=>$uid]); ?>"><i class="fa fa-home" aria-hidden="true"></i> 首页</a> &gt; <a
  9. href="<?php echo url('index/app/lists',['uid'=>$uid,'wid'=>$detail['weiba_id']]); ?>"><?php echo $it['weiba_name']; ?></a></span></div>
  10. <div class="main">
  11. <div class="fl width-724 mt-15">
  12. <div class="art-head">
  13. <h1 style=" font-size: 28px;
  14. color: #000;
  15. margin-bottom: 15px;"><?php echo $detail['title']; ?></h1>
  16. <div class="tail"> <span class="marright20">发布时间:<?php echo $detail['time']; ?></span><span class="marright20"><i
  17. class="iconfont icon-yueduliang2"></i> &nbsp;&nbsp;<span id="read_count"></span></span>
  18. <?php if(isset($detail['original_author']) &&

Call Stack

  1. in 329be44f02a26ad82560989439e7e8cb.php line 19
  2. at Error::appError(2, 'Illegal string offse...', '/app/runtime/temp/32...', 19, ['cacheFile' => '/app/runtime/temp/32...', 'vars' => ['lang_index' => '内容', 'uid' => '245', 'wid' => null, ...], 'lang_index' => '内容', ...]) in 329be44f02a26ad82560989439e7e8cb.php line 19
  3. at include('/app/runtime/temp/32...') in File.php line 53
  4. at File->read('/app/runtime/temp/32...', ['lang_index' => '内容', 'uid' => '245', 'wid' => null, ...]) in Template.php line 188
  5. at Template->fetch('../template/index/ap...', ['lang_index' => '内容', 'uid' => '245', 'wid' => null, ...], []) in Think.php line 86
  6. at Think->fetch('../template/index/ap...', ['lang_index' => '内容', 'uid' => '245', 'wid' => null, ...], []) in View.php line 163
  7. at View->fetch('app/shiping/detail', ['lang_index' => '内容', 'uid' => '245', 'wid' => null, ...], ['__ROOT__' => '', '__URL__' => '/index/app', '__STATIC__' => '/static', ...]) in View.php line 36
  8. at View->output('app/shiping/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_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_ACCEPT_ENCODING
gzip
HTTP_USER_AGENT
Go-http-client/1.1
HTTP_HOST
bzw-internal
REDIRECT_STATUS
200
SERVER_NAME
_
SERVER_PORT
80
SERVER_ADDR
172.20.0.58
REMOTE_PORT
33910
REMOTE_ADDR
172.20.1.72
SERVER_SOFTWARE
nginx/1.12.0
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/app/public
DOCUMENT_URI
/index.php
REQUEST_URI
/app/detail/245/191325
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=//app/detail/245/191325
SCRIPT_FILENAME
/app/public/index.php
PATH_INFO
//app/detail/245/191325
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1588190122.2007
REQUEST_TIME
1588190122
argv
[ "s=\/\/app\/detail\/245\/191325" ]
argc
1

Environment Variables

app_host
www.binzhouw.com
api_host
http://api-bzw
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_ACCEPT_ENCODING
gzip
HTTP_USER_AGENT
Go-http-client/1.1
HTTP_HOST
bzw-internal
REDIRECT_STATUS
200
SERVER_NAME
_
SERVER_PORT
80
SERVER_ADDR
172.20.0.58
REMOTE_PORT
33910
REMOTE_ADDR
172.20.1.72
SERVER_SOFTWARE
nginx/1.12.0
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/app/public
DOCUMENT_URI
/index.php
REQUEST_URI
/app/detail/245/191325
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=//app/detail/245/191325
SCRIPT_FILENAME
/app/public/index.php
PATH_INFO
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1588190122.2007
REQUEST_TIME
1588190122
argv
[ "s=\/\/app\/detail\/245\/191325" ]
argc
1

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
1588190122.201
THINK_START_MEM
363224
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