[8] ErrorException in ba2b5f81be692cb154f5270bd5d68994.php line 1859

Trying to access array offset on value of type null

  1. <!-- 简介 -->
  2. <div class="game_details_info">
  3. <div class="details_title user_flex_row_between">
  4. <div class="user_flex_row">
  5. <div class="details_name">
  6. <h1><?php echo $game['name']; ?></h1>
  7. </div>
  8. <div class="details_label">
  9. <?php foreach($game->version_array_text() as $key=>$version): ?>
  10. <a href="/bb/<?php echo $version['url']; ?>" target="_blank"><?php echo $version['name']; ?></a>
  11. <?php if(array_key_last($game->version_array_text())!=$key): ?>
  12. <span> / </span>
  13. <?php endif; endforeach; ?>
  14. </div>
  15. <div class="certification user_flex_center">
  16. <div class="certification_img"></div>
  17. <!-- 有认证加上 certification_font_active -->
  18. <div class="certification_font certification_font_active"><?php echo userLevel($game->writer)['title']; ?></div>
  19. </div>

Call Stack

  1. in ba2b5f81be692cb154f5270bd5d68994.php line 1859
  2. at Error::appError() in ba2b5f81be692cb154f5270bd5d68994.php line 1859
  3. at include('/www/wwwroot/773hf/r...') in File.php line 53
  4. at File->read() in Template.php line 188
  5. at Template->fetch() in Think.php line 86
  6. at Think->fetch() in View.php line 163
  7. at View->fetch() in Index.php line 505
  8. at Index->daquanDetail()
  9. at ReflectionMethod->invokeArgs() in App.php line 343
  10. at App::invokeMethod() in App.php line 611
  11. at App::module() in App.php line 456
  12. at App::exec() in App.php line 139
  13. at App::run() in start.php line 19
  14. at require('/www/wwwroot/773hf/t...') in index.php line 18

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
PHP_APP_DEBUG
1
PHP_APP_TRACE
PHP_DATABASE_HOSTNAME
127.0.0.1
PHP_DATABASE_DATABASE
773hf.com
PHP_DATABASE_USERNAME
773hf.com
PHP_DATABASE_PASSWORD
773hf.com
PHP_DATABASE_HOSTPORT
3306
PHP_DATABASE_PREFIX
fa_
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
HTTP_HOST
www.773hf.com
PATH_INFO
/banben/23.html
REDIRECT_STATUS
200
SERVER_NAME
www.773hf.com
SERVER_PORT
443
SERVER_ADDR
172.17.55.12
REMOTE_PORT
39662
REMOTE_ADDR
3.85.63.190
SERVER_SOFTWARE
nginx/1.22.1
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/2.0
DOCUMENT_ROOT
/www/wwwroot/773hf/public
DOCUMENT_URI
/index.php
REQUEST_URI
/banben/23.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/banben/23.html
SCRIPT_FILENAME
/www/wwwroot/773hf/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1710838292.3105
REQUEST_TIME
1710838292
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/773hf/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1710838292.3109
THINK_START_MEM
408136
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/773hf/thinkphp/
LIB_PATH
/www/wwwroot/773hf/thinkphp/library/
CORE_PATH
/www/wwwroot/773hf/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/773hf/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/773hf/
EXTEND_PATH
/www/wwwroot/773hf/extend/
VENDOR_PATH
/www/wwwroot/773hf/vendor/
RUNTIME_PATH
/www/wwwroot/773hf/runtime/
LOG_PATH
/www/wwwroot/773hf/runtime/log/
CACHE_PATH
/www/wwwroot/773hf/runtime/cache/
TEMP_PATH
/www/wwwroot/773hf/runtime/temp/
CONF_PATH
/www/wwwroot/773hf/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/www/wwwroot/773hf/addons/