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

[8] ErrorException in News.php line 246

未定义数组索引: articleCategoryId

  1. // 关闭cURL资源
  2. curl_close($curl);
  3. return $response;
  4. }
  5. //详情数据整理
  6. public function getarticledetaileds($id)
  7. {
  8. $data = $this->getcurldetaileds($id);
  9. $data = json_decode($data, true);
  10. if ($data['articleCategoryId'] == "241758310947479552") {
  11. $nav_id = 77;
  12. } else {
  13. $nav_id = 78;
  14. }
  15. $data['created'] = strtotime($data['lastModifiedDate']);
  16. // seo
  17. $dataseo['seotitle'] = $data['title'];
  18. $dataseo['seokeywords'] = $data['title'];

Call Stack

  1. in News.php line 246
  2. at Error::appError(8, 'Undefined index: art...', '/www/wwwroot/new.bge...', 246, ['id' => 'index', 'data' => ['message' => 'Internal Server Erro...', 'description' => 'Internal Server Erro...', 'type' => 'errorVm', ...]]) in News.php line 246
  3. at News->getarticledetaileds('index') in News.php line 68
  4. at News->articledetailed()
  5. at ReflectionMethod->invokeArgs(object(News), []) in App.php line 343
  6. at App::invokeMethod([object(News), 'articledetailed'], []) in App.php line 611
  7. at App::module(['home', 'news', 'articledetailed'], ['app_host' => '', 'app_debug' => '1', 'app_trace' => false, ...], false) in App.php line 456
  8. at App::exec(['type' => 'module', 'module' => ['home', 'news', 'articledetailed'], '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
5l7gg0n7nst9jcg0ien5lnbt07
Session
empty

Server/Request Data

USER
www
HOME
/home/www
SCRIPT_NAME
/index.php
REQUEST_URI
/news/articledetailed/index.html
QUERY_STRING
s=/news/articledetailed/index.html
REQUEST_METHOD
GET
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
REDIRECT_QUERY_STRING
s=/news/articledetailed/index.html
REDIRECT_URL
/news/articledetailed/index.html
REMOTE_PORT
60996
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=5l7gg0n7nst9jcg0ien5lnbt07
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.bgechina.cn
HTTP_USER_AGENT
Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/)
proxy-nokeepalive
1
SSL_TLS_SNI
www.bgechina.cn
HTTPS
on
SCRIPT_URI
/news/articledetailed/index.html
SCRIPT_URL
/news/articledetailed/index.html
REDIRECT_STATUS
200
REDIRECT_SSL_TLS_SNI
www.bgechina.cn
REDIRECT_HTTPS
on
REDIRECT_SCRIPT_URI
/news/articledetailed/index.html
REDIRECT_SCRIPT_URL
/news/articledetailed/index.html
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1747546505.9633
REQUEST_TIME
1747546505
PATH_INFO
/news/articledetailed/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
1747546505.9634
THINK_START_MEM
363696
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