[2] ErrorException in 31fb968d7a592cf0518ae0f2c4f49be5.php line 107

Illegal string offset 'weiba_id'

  1. <!-- 文章 uid 及 pid -->
  2. <input type="hidden" id="uid" value="<?php echo $uid; ?>">
  3. <input type="hidden" id="pid" value="<?php echo \think\Request::instance()->param('pid'); ?>">
  4. <input type="hidden" id="wid" value="<?php echo $detail['weiba_id']; ?>">
  5. <div class="main breadcrumbs" id="breadcrumbs">
  6. <span>
  7. 当前位置 &gt;
  8. <a href="<?php echo url('index/app/lists',['uid'=>
  9. $uid,'wid'=>$info['weiba_id']]); ?>"><?php echo (isset($info['weiba_name'] ) && ($info['weiba_name'] !== '')?$info['weiba_name'] :"滨州汽车"); ?>
  10. </a>
  11. </span>
  12. </div>
  13. <div>
  14. <div class="artical">
  15. <div class="artical-head">
  16. <?php $weibaid = $detail["weiba_id"]; ?>
  17. <h1 style="font-size: 26px;
  18. color: #221815;

Call Stack

  1. in 31fb968d7a592cf0518ae0f2c4f49be5.php line 107
  2. at Error::appError(2, 'Illegal string offse...', '/app/runtime/temp/31...', 107, ['cacheFile' => '/app/runtime/temp/31...', 'vars' => ['lang_index' => '内容', 'uid' => '171', 'wid' => null, ...], 'lang_index' => '内容', ...]) in 31fb968d7a592cf0518ae0f2c4f49be5.php line 107
  3. at include('/app/runtime/temp/31...') in File.php line 50
  4. at File->read('/app/runtime/temp/31...', ['lang_index' => '内容', 'uid' => '171', 'wid' => null, ...]) in Template.php line 200
  5. at Template->fetch('../template/index/ap...', ['lang_index' => '内容', 'uid' => '171', 'wid' => null, ...], []) in Think.php line 84
  6. at Think->fetch('../template/index/ap...', ['lang_index' => '内容', 'uid' => '171', 'wid' => null, ...], []) in View.php line 163
  7. at View->fetch('app/car/detail', ['lang_index' => '内容', 'uid' => '171', 'wid' => null, ...], ['__ROOT__' => '', '__URL__' => '/index/app', '__STATIC__' => '/static', ...]) in View.php line 36
  8. at View->output('app/car/detail') in Response.php line 311
  9. at Response->getContent() in Response.php line 96
  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
api_path
http://api-bzw/api/
redishost
r-8vbdd5toe00wammv1bpd.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.1.111
REMOTE_PORT
58468
REMOTE_ADDR
172.20.1.138
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/171/273716
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=//app/detail/171/273716
SCRIPT_FILENAME
/app/public/index.php
PATH_INFO
//app/detail/171/273716
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1578366102.3328
REQUEST_TIME
1578366102
argv
[ "s=\/\/app\/detail\/171\/273716" ]
argc
1

Environment Variables

app_host
www.binzhouw.com
api_host
api_path
http://api-bzw/api/
redishost
r-8vbdd5toe00wammv1bpd.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.1.111
REMOTE_PORT
58468
REMOTE_ADDR
172.20.1.138
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/171/273716
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=//app/detail/171/273716
SCRIPT_FILENAME
/app/public/index.php
PATH_INFO
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1578366102.3328
REQUEST_TIME
1578366102
argv
[ "s=\/\/app\/detail\/171\/273716" ]
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
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.15
THINK_START_TIME
1578366102.3333
THINK_START_MEM
363216
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