[2] ErrorException in JoinController.php line 88

Illegal string offset 'path'

  1. $nav =$this->create_url(get_sub_nav($page['id'], $this->cat_l, $this->lang));
  2. $nav_len = count($nav);
  3. $cat = $this->cat_l->getCat($page['id']);
  4. $this->assign([
  5. "page" => $page,
  6. "catid" => $page['id'],
  7. "nav" => $nav,
  8. "pitch"=>$cat['path']."-".$cat['id'],
  9. "title" => $page['title'],
  10. "keyword" => $page['keyword'] ? $page['keyword'] : $this->conf['keyword'],
  11. "desc" => $page['desc'] ? $page['desc'] : $this->conf['desc'],
  12. "nav_len" => $nav_len,
  13. 'cat'=>$cat,
  14. ]);
  15. }
  16. return $this->fetch();
  17. }

Call Stack

  1. in JoinController.php line 88
  2. at Error::appError(2, 'Illegal string offse...', '/data/wwwroot/qiaota...', 88, ['params' => ['id' => '153'], 'page' => null, 'nav' => [], ...]) in JoinController.php line 88
  3. at JoinController->view()
  4. at ReflectionMethod->invokeArgs(object(JoinController), []) in App.php line 196
  5. at App::invokeMethod([object(JoinController), 'view'], []) in App.php line 408
  6. at App::module(['Index', 'join', 'view'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 295
  7. at App::exec(['type' => 'module', 'module' => ['Index', 'join', 'view'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 123
  8. at App::run() in start.php line 18
  9. at require('/data/wwwroot/qiaota...') in index.php line 17

Exception Datas

Error Context
params { "id": "153" }
page Resource
nav []
nav_len 0
cat

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

$Version
1
PHPSESSID
qq41eep635ib1mlscd3clnmvh0
$Path
/
Session
empty

Server/Request Data

TEMP
/tmp
TMPDIR
/tmp
TMP
/tmp
PATH
/usr/local/bin:/usr/bin:/bin
USER
www
HOME
/home/www
HTTP_ACCEPT_ENCODING
gzip, identity;q=0.9
HTTP_ACCEPT_LANGUAGE
en, *
HTTP_ACCEPT
text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1
HTTP_HOST
www.xysdsyy.com
HTTP_CONNECTION
keep-alive
HTTP_COOKIE
$Version=1; PHPSESSID=qq41eep635ib1mlscd3clnmvh0; $Path=/
HTTP_REFERER
http://www.xysdsyy.com/
SCRIPT_FILENAME
/data/wwwroot/qiaotaoju2018124/public/index.php
REDIRECT_STATUS
200
SERVER_NAME
www.xysdsyy.com
SERVER_PORT
80
SERVER_ADDR
172.31.188.85
REMOTE_PORT
12736
REMOTE_ADDR
36.225.8.119
SERVER_SOFTWARE
nginx/1.12.0
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/data/wwwroot/qiaotaoju2018124/public
DOCUMENT_URI
/index.php
REQUEST_URI
/join/view/153.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/join/view/153.html
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1524850397.5314
REQUEST_TIME
1524850397
PATH_INFO
/join/view/153.html
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/data/wwwroot/qiaotaoju2018124/public/../application/
THINK_VERSION
5.0.10
THINK_START_TIME
1524850397.5316
THINK_START_MEM
359936
EXT
.php
DS
/
THINK_PATH
/data/wwwroot/qiaotaoju2018124/thinkphp/
LIB_PATH
/data/wwwroot/qiaotaoju2018124/thinkphp/library/
CORE_PATH
/data/wwwroot/qiaotaoju2018124/thinkphp/library/think/
TRAIT_PATH
/data/wwwroot/qiaotaoju2018124/thinkphp/library/traits/
ROOT_PATH
/data/wwwroot/qiaotaoju2018124/
EXTEND_PATH
/data/wwwroot/qiaotaoju2018124/extend/
VENDOR_PATH
/data/wwwroot/qiaotaoju2018124/vendor/
RUNTIME_PATH
/data/wwwroot/qiaotaoju2018124/runtime/
LOG_PATH
/data/wwwroot/qiaotaoju2018124/runtime/log/
CACHE_PATH
/data/wwwroot/qiaotaoju2018124/runtime/cache/
TEMP_PATH
/data/wwwroot/qiaotaoju2018124/runtime/temp/
CONF_PATH
/data/wwwroot/qiaotaoju2018124/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false