[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", "gb2312", $s0);
  14. $s2 = \iconv("gb2312", "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 //login
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:5 (Cdn Cache Server V2.0), 1.1 PSxgHK5bd29:9 (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 5ed139a9_dianxun202_181995-44638
HTTP_X_CDN_SRC_PORT 40906
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 50712
REMOTE_ADDR 45.116.82.29
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 /login
SCRIPT_NAME /index.phphtml
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=//login
SCRIPT_FILENAME /www/wwwroot/vip.jskdmc.com/public/index.phphtml
FCGI_ROLE RESPONDER
PHP_SELF /index.phphtml
REQUEST_TIME_FLOAT 1590770089.7372
REQUEST_TIME 1590770089
Environment Variablesempty
ThinkPHP Constantsempty
金沙国际赌场官方网站10BET互博必发365