[8192] ErrorException in common.phphtml line 1260

Array and string offset access syntax with curly braces is deprecated

  1. return new \app\common\model\Content(strtolower($name));
  2. } elseif ($type == 'form') {
  3. return new \app\common\model\DiyForm(strtolower($name));
  4. }
  5. }
  6. //php获取中文字符拼音首字母
  7. function getFirstCharter($s0)
  8. {
  9. $fchar = ord($s0{0});
  10. if ($fchar >= ord("A") and $fchar <= ord("z")) {
  11. return strtoupper($s0{0});
  12. }
  13. $s1 = \iconv("utf-8", "utf-8", $s0);
  14. $s2 = \iconv("utf-8", "utf-8", $s1);
  15. if ($s2 == $s0) {
  16. $s = $s1;
  17. } else {

Call Stack

  1. in common.phphtml line 1260
  2. at Error::appError() in App.phphtml line 289
  3. at include_once() in App.phphtml line 289
  4. at App->init() in App.phphtml line 210
  5. at App->initialize() in App.phphtml line 379
  6. at App->run() in index.phphtml line 21

Environment Variables

GET Data
s //register
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_CONNECTION keep-alive
HTTP_X_VIA 1.1 PSxgHK4dv74:11 (Cdn Cache Server V2.0), 1.1 PSxgHKG8vk84:4 (Cdn Cache Server V2.0), 1.1 PS-000-01cZq86:0 (Cdn Cache Server V2.0)
HTTP_USER_AGENT Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
HTTP_ACCEPT */*
HTTP_X_WS_REQUEST_ID 5ecf0163_PSxgHK4bc75_12722-2652
HTTP_X_CDN_SRC_PORT 36516
HTTP_CDN_SRC_IP 154.222.123.106
HTTP_HOST vip.jskdmc.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME vip.jskdmc.com
SERVER_PORT 443
SERVER_ADDR 172.31.0.14
REMOTE_PORT 61912
REMOTE_ADDR 163.171.193.86
SERVER_SOFTWARE nginx/1.18.0
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/vip.jskdmc.com/public
DOCUMENT_URI /index.phphtml
REQUEST_URI /register
SCRIPT_NAME /index.phphtml
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=//register
SCRIPT_FILENAME /www/wwwroot/vip.jskdmc.com/public/index.phphtml
FCGI_ROLE RESPONDER
PHP_SELF /index.phphtml
REQUEST_TIME_FLOAT 1590624611.2816
REQUEST_TIME 1590624611
Environment Variablesempty
ThinkPHP Constantsempty
金沙国际赌场官方网站10BET互博必发365