[2] ErrorException in 36a49eebd4d9ddb006942787e5669e35.php line 138

Illegal string offset 'weiba_id'

  1. </ul>
  2. <?php endif; ?>
  3. </div>
  4. </div>
  5. </div><nav> <?php if(input('pid')): $detail = model("Article","logic")->getArticleDetail(input('pid'),0,""); if(isset($detail["weiba_id"])) { $weiba_id = $detail["weiba_id"]; } endif; ?><ul> <?php if(isset($wid))$weiba_id = $wid; if(isset($weiba_id)) { ?><li class="nav__menu-item"><a href="<?php echo url('index/app/index',array('uid' => $uid)); ?>" target="_blank">首页</a></li> <?php } else { ?><li class="nav__menu-item on"><a href="<?php echo url('index/app/index',array('uid' => $uid)); ?>" target="_blank">首页</a></li> <?php } ?><li class="nav__menu-item <?php if($wid == '889'): ?>on<?php endif; ?>"> <a href="<?php echo url('index/app/knowledgelist',array('uid' => $uid,'wid'=>889)); ?>" target="_blank">知识宝典</a><ul class="nav__submenu"> <?php $child = model("Nav","logic")->getChildcategory($uid,889); if(!(empty($child) || (($child instanceof \think\Collection || $child instanceof \think\Paginator ) && $child->isEmpty()))): if(is_array($child) || $child instanceof \think\Collection || $child instanceof \think\Paginator): $i = 0;$__LIST__ = is_array($child) ? array_slice($child,0,3, true) : $child->slice(0,3, true); if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vochild): $mod = ($i % 2 );++$i;?><li class="nav__submenu-item" value="<?php echo $vochild['weiba_id']; ?>"><a class="<?php if($wid == $vochild['weiba_id']): ?>on2<?php endif; ?>" href="<?php echo url('index/app/lists',array('uid' => $uid,'zlm'=>$vochild['weiba_id'],'wid'=>889)); ?>" target="_blank"><?php echo $vochild['weiba_name']; ?></a></li> <?php endforeach; endif; else: echo "" ;endif; endif; ?> </ul></li><li class="nav__menu-item <?php if($wid == '899'): ?>on<?php endif; ?>"><a href="<?php echo url('index/app/motherlist',array('uid' => $uid,'wid'=>899)); ?>" target="_blank">妈咪厨房</a><ul class="nav__submenu"> <?php $child = model("Nav","logic")->getChildcategory($uid,899); if(!(empty($child) || (($child instanceof \think\Collection || $child instanceof \think\Paginator ) && $child->isEmpty()))): if(is_array($child) || $child instanceof \think\Collection || $child instanceof \think\Paginator): $i = 0; $__LIST__ = $child;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vochild): $mod = ($i % 2 );++$i;?><li class="nav__submenu-item" value="<?php echo $vochild['weiba_id']; ?>"><a class="<?php if($wid == $vochild['weiba_id']): ?>on2<?php endif; ?>" href="<?php echo url('index/app/educationlist',array('uid' => $uid,'zlm'=>$vochild['weiba_id'],'wid'=>899)); ?>" target="_blank"><?php echo $vochild['weiba_name']; ?></a></li> <?php endforeach; endif; else: echo "" ;endif; endif; ?> </ul></li><li class="nav__menu-item <?php if($wid == '895'): ?>on<?php endif; ?>"><a href="<?php echo url('index/app/motherlist',array('wid'=>895,'uid'=>$uid)); ?>" target="_blank">宝妈秀</a><ul class="nav__submenu"> <?php $child = model("Nav","logic")->getChildcategory($uid,895); if(!(empty($child) || (($child instanceof \think\Collection || $child instanceof \think\Paginator ) && $child->isEmpty()))): if(is_array($child) || $child instanceof \think\Collection || $child instanceof \think\Paginator): $i = 0;$__LIST__ = is_array($child) ? array_slice($child,0,3, true) : $child->slice(0,3, true); if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vochild): $mod = ($i % 2 );++$i;if($vochild['weiba_id']==897): ?><li class="nav__submenu-item" value="<?php echo $vochild['weiba_id']; ?>"><a class="<?php if($wid == $vochild['weiba_id']): ?>on2<?php endif; ?>" href="<?php echo url('index/app/videolist',array('uid' => $uid,'zlm'=>$vochild['weiba_id'],'wid'=>895)); ?>" target="_blank"><?php echo $vochild['weiba_name']; ?></a></li> <?php else: ?><li class="nav__submenu-item" value="<?php echo $vochild['weiba_id']; ?>"><a class="<?php if($wid == $vochild['weiba_id']): ?>on2<?php endif; ?>" href="<?php echo url('index/app/photolist',array('uid' => $uid,'zlm'=>$vochild['weiba_id'],'wid'=>895)); ?>" target="_blank"><?php echo $vochild['weiba_name']; ?></a></li> <?php endif; endforeach; endif; else: echo "" ;endif; endif; ?> </ul></li><li class="nav__menu-item <?php if($wid == '933'): ?>on<?php endif; ?>"> <a href="<?php echo url('index/app/lists',array('uid' => $uid,'wid'=>933)); ?>" target="_blank">育儿分享</a></li></ul></nav></div></section>
  6. <div class='main'>
  7. <div class="bread-nav"><a href="<?php echo url('index/app/index',array('uid' => $uid)); ?>" target="_blank">首页</a>
  8. <span>&gt;</span> <span><a href="<?php echo url('index/app/lists',['uid' => $uid,'wid'=>$it['weiba_id']]); ?>" target="_blank"><?php echo $it['weiba_name']; ?></a></span>
  9. </div>
  10. <div class="detile-left">
  11. <div class="pic-con">
  12. <div class="artical-head"><h1 style="font-size: 28px;
  13. color: #000;
  14. margin: 15px 0;
  15. font-weight: normal;"><?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;<?php echo $detail['read_count']; ?></span>

Call Stack

  1. in 36a49eebd4d9ddb006942787e5669e35.php line 138
  2. at Error::appError(2, 'Illegal string offse...', '/app/runtime/temp/36...', 138, ['cacheFile' => '/app/runtime/temp/36...', 'vars' => ['lang_index' => '内容', 'uid' => '247', 'wid' => null, ...], 'lang_index' => '内容', ...]) in 36a49eebd4d9ddb006942787e5669e35.php line 138
  3. at include('/app/runtime/temp/36...') in File.php line 53
  4. at File->read('/app/runtime/temp/36...', ['lang_index' => '内容', 'uid' => '247', 'wid' => null, ...]) in Template.php line 188
  5. at Template->fetch('../template/index/ap...', ['lang_index' => '内容', 'uid' => '247', 'wid' => null, ...], []) in Think.php line 86
  6. at Think->fetch('../template/index/ap...', ['lang_index' => '内容', 'uid' => '247', 'wid' => null, ...], []) in View.php line 163
  7. at View->fetch('app/parenting/detail', ['lang_index' => '内容', 'uid' => '247', 'wid' => null, ...], ['__ROOT__' => '', '__URL__' => '/index/app', '__STATIC__' => '/static', ...]) in View.php line 36
  8. at View->output('app/parenting/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
8c6a5511d5c2c06c06eae5f60d90c273
HTTP_X_SINFO
on
HTTP_X_CLIENT_IP
34.201.37.128
HTTP_X_TRUE_IP
34.201.37.128
HTTP_WL_PROXY_CLIENT_IP
34.201.37.128
HTTP_WEB_SERVER_TYPE
nginx
HTTP_EAGLEEYE_RPCID
0.1
HTTP_ACCEPT
*/*
HTTP_EAGLEEYE_TRACEID
2760777117116458661872531e9c74
HTTP_X_FORWARDED_CLUSTER
waf,
HTTP_X_FORWARDED_FOR
34.201.37.128
HTTP_USER_AGENT
claudebot
HTTP_X_FORWARDED_PROTO
https
HTTP_REMOTE_HOST
39.96.119.113
HTTP_X_REAL_IP
39.96.119.113
HTTP_CONNECTION
close
HTTP_HOST
www.binzhouw.com
REDIRECT_STATUS
200
SERVER_NAME
_
SERVER_PORT
80
SERVER_ADDR
172.20.2.252
REMOTE_PORT
55780
REMOTE_ADDR
172.20.2.132
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/247/306056.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=//app/detail/247/306056.html
SCRIPT_FILENAME
/app/public/index.php
PATH_INFO
//app/detail/247/306056.html
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711645866.224
REQUEST_TIME
1711645866
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
1711645866.2241
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