金沙(3777·China认证)娱场城-Best App Store

[8] ErrorException in Sysglobal.php line 62

未定义数组索引: intro

  1. $data = Db::name($model)->field("seotitle,seokeywords,seodescription")->where($map)->find();
  2. $this->assign("seo1", $data);
  3. }
  4. public function getshare($type , $model = "", $id = "")
  5. {
  6. if($type == 100){
  7. $map['id'] = $id;
  8. $data = Db::name($model)->field("title,intro")->where($map)->find();
  9. $data['cover_img'] = 'http://www.bgechina.cn/uploads/error/404.jpg';
  10. $data['intro'] = $data['intro'];
  11. }else if($type == 200){
  12. $map['id'] = $id;
  13. $data = Db::name($model)->field("title,intro,cover_img")->where($map)->find();
  14. if (strlen($data['cover_img']) < 6) {
  15. $url = '[{"id":"125","url":"/uploads/error/404.jpg","filetype":"1","filetitle":"2.png","filejump":"","fileintro":""}]';
  16. $url = json_decode($url, true);
  17. $data['cover_img'] = "http://www.bgechina.cn".$url[0]['url'];
  18. } else {
  19. $url = json_decode($data['cover_img'], true);

Call Stack

  1. in Sysglobal.php line 62
  2. at Error::appError(8, 'Undefined index: int...', '/www/wwwroot/new.bge...', 62, ['type' => 100, 'model' => 'nav', 'id' => 'index', ...]) in Sysglobal.php line 62
  3. at Sysglobal->getshare(100, 'nav', 'index') in News.php line 28
  4. at News->index()
  5. at ReflectionMethod->invokeArgs(object(News), []) in App.php line 343
  6. at App::invokeMethod([object(News), 'index'], []) in App.php line 611
  7. at App::module(['home', 'news', 'index'], ['app_host' => '', 'app_debug' => '1', 'app_trace' => false, ...], false) in App.php line 456
  8. at App::exec(['type' => 'module', 'module' => ['home', 'news', 'index'], 'convert' => false], ['app_host' => '', 'app_debug' => '1', 'app_trace' => false, ...]) in App.php line 139
  9. at App::run() in start.php line 19
  10. at require('/www/wwwroot/new.bge...') in index.php line 24

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

PHPSESSID
17jj4f21pukdbkgnvarmn3r6i2
Session
empty

Server/Request Data

USER
www
HOME
/home/www
SCRIPT_NAME
/index.php
REQUEST_URI
/news/index/index.html
QUERY_STRING
s=/news/index/index.html
REQUEST_METHOD
GET
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
REDIRECT_QUERY_STRING
s=/news/index/index.html
REDIRECT_URL
/news/index/index.html
REMOTE_PORT
35904
SCRIPT_FILENAME
/www/wwwroot/new.bgechina.cn/public/index.php
SERVER_ADMIN
webmaster@example.com
CONTEXT_DOCUMENT_ROOT
/www/wwwroot/new.bgechina.cn/public
CONTEXT_PREFIX
REQUEST_SCHEME
https
DOCUMENT_ROOT
/www/wwwroot/new.bgechina.cn/public
REMOTE_ADDR
170.130.202.26
SERVER_PORT
443
SERVER_ADDR
172.21.134.116
SERVER_NAME
www.bgechina.cn
SERVER_SOFTWARE
Apache
SERVER_SIGNATURE
Apache Server at www.bgechina.cn Port 443
LD_LIBRARY_PATH
/www/server/apache/lib:/www/server/apache/lib
PATH
/www/server/panel/pyenv/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root/bin
HTTP_COOKIE
PHPSESSID=17jj4f21pukdbkgnvarmn3r6i2
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.bgechina.cn
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
proxy-nokeepalive
1
SSL_TLS_SNI
www.bgechina.cn
HTTPS
on
SCRIPT_URI
/news/index/index.html
SCRIPT_URL
/news/index/index.html
REDIRECT_STATUS
200
REDIRECT_SSL_TLS_SNI
www.bgechina.cn
REDIRECT_HTTPS
on
REDIRECT_SCRIPT_URI
/news/index/index.html
REDIRECT_SCRIPT_URL
/news/index/index.html
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1744288788.4399
REQUEST_TIME
1744288788
PATH_INFO
/news/index/index.html
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/new.bgechina.cn/public/../application/
CONF_PATH
/www/wwwroot/new.bgechina.cn/public/../config/
THINK_VERSION
5.0.24
THINK_START_TIME
1744288788.4401
THINK_START_MEM
363568
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/new.bgechina.cn/thinkphp/
LIB_PATH
/www/wwwroot/new.bgechina.cn/thinkphp/library/
CORE_PATH
/www/wwwroot/new.bgechina.cn/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/new.bgechina.cn/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/new.bgechina.cn/
EXTEND_PATH
/www/wwwroot/new.bgechina.cn/extend/
VENDOR_PATH
/www/wwwroot/new.bgechina.cn/vendor/
RUNTIME_PATH
/www/wwwroot/new.bgechina.cn/runtime/
LOG_PATH
/www/wwwroot/new.bgechina.cn/runtime/log/
CACHE_PATH
/www/wwwroot/new.bgechina.cn/runtime/cache/
TEMP_PATH
/www/wwwroot/new.bgechina.cn/runtime/temp/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
PHP_OS_FAMILY
Linux