[8] ErrorException in Index.php line 30

Undefined index: deleted

  1. cookie('think_var','zh-cn');
  2. }
  3. if($lang=="zh-cn"){
  4. $lang = 'cn';
  5. }
  6. foreach ($lans as $key => $value) {
  7. $lansData[$value["key"]] = $value[$lang];
  8. }
  9. return $lansData;
  10. }
  11. //获取当前语言
  12. function getcurlang(){

Call Stack

  1. in Index.php line 30
  2. at Error::appError(8, 'Undefined index: del...', '/www/wwwroot/weigao....', 30, ['lans' => [['id' => 1, 'key' => 'title', 'cn' => '...', ...], ['id' => 2, 'key' => 'keyword', 'cn' => '维高集团,维高,...', ...], ['id' => 3, 'key' => 'describe', 'cn' => '...', ...], ...], 'lansData' => [], 'lang' => 'deleted', ...]) in Index.php line 30
  3. at Index->lang_load() in Index.php line 312
  4. at Index->privacy_statement()
  5. at ReflectionMethod->invokeArgs(object(Index), []) in App.php line 343
  6. at App::invokeMethod([object(Index), 'privacy_statement'], []) in App.php line 611
  7. at App::module(['index', 'index', 'privacy_statement'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  8. at App::exec(['type' => 'module', 'module' => ['index', 'index', 'privacy_statement']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  9. at App::run() in start.php line 19
  10. at require('/www/wwwroot/weigao....') in index.php line 18

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

$Version
1
think_var
deleted
$Path
/
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_ACCEPT_ENCODING
gzip, identity;q=0.9
HTTP_ACCEPT_LANGUAGE
zh_TW, 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_USER_AGENT
Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)
HTTP_HOST
www.vigogroup.com
HTTP_CONNECTION
keep-alive
HTTP_COOKIE
$Version=1; think_var=deleted; $Path=/
HTTP_REFERER
http://www.vigogroup.com/
PATH_INFO
/index/privacy_statement.html
REDIRECT_STATUS
200
SERVER_NAME
weigao.com
SERVER_PORT
80
SERVER_ADDR
10.1.4.15
REMOTE_PORT
56016
REMOTE_ADDR
27.147.31.48
SERVER_SOFTWARE
nginx/1.18.0
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/weigao.com
DOCUMENT_URI
/index.php
REQUEST_URI
/index/privacy_statement.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/index/privacy_statement.html
SCRIPT_FILENAME
/www/wwwroot/weigao.com/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1626175064.5383
REQUEST_TIME
1626175064
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/weigao.com/application/
BIND_MODULE
index
THINK_VERSION
5.0.24
THINK_START_TIME
1626175064.5386
THINK_START_MEM
368664
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/weigao.com/thinkphp/
LIB_PATH
/www/wwwroot/weigao.com/thinkphp/library/
CORE_PATH
/www/wwwroot/weigao.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/weigao.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/weigao.com/
EXTEND_PATH
/www/wwwroot/weigao.com/extend/
VENDOR_PATH
/www/wwwroot/weigao.com/vendor/
RUNTIME_PATH
/www/wwwroot/weigao.com/runtime/
LOG_PATH
/www/wwwroot/weigao.com/runtime/log/
CACHE_PATH
/www/wwwroot/weigao.com/runtime/cache/
TEMP_PATH
/www/wwwroot/weigao.com/runtime/temp/
CONF_PATH
/www/wwwroot/weigao.com/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false