#0 [2]ErrorException in a06e64508f1b605f89286d03d3f1aae0.php line 18

Trying to access array offset on value of type null

  1. <link rel="stylesheet" href="/static/bootstrap-5.3.0/css/bootstrap.min.css">
  2. <link rel="stylesheet" href="/static/bootstrap-icons-1.11.3/font/bootstrap-icons.min.css">
  3. <link rel="stylesheet" href="/static/styles.css">
  4. <script src="/static/bootstrap-5.3.0/js/bootstrap.bundle.min.js"></script>
  5. </head>
  6. <body>
  7. <div class="card mx-auto" style="width: 18rem;">
  8. <img src="<?php echo htmlentities($user['avatar']); ?>" class="card-img-top" alt="...">
  9. <div class="card-body">
  10. <h5 class="card-title"><?php echo htmlentities($user['nickname']); ?></h5>
  11. <p class="card-text">欢迎回来</p>
  12. <a href="#" class="btn btn-primary">继续</a>
  13. </div>
  14. </div>
  15. </body>

Call Stack

  1. in a06e64508f1b605f89286d03d3f1aae0.php line 18
  2. at Error->appError() in a06e64508f1b605f89286d03d3f1aae0.php line 18
  3. at include('/www/wwwroot/bonystu...') in File.php line 60
  4. at File->read() in Template.php line 250
  5. at Template->fetch() in Think.php line 131
  6. at Think->fetch() in View.php line 90
  7. at View->think\{closure}() in View.php line 126
  8. at View->getContent() in View.php line 89
  9. at View->fetch() in View.php line 92
  10. at View->output() in Response.php line 388
  11. at Response->getContent() in TraceDebug.php line 75
  12. at TraceDebug->handle()
  13. at call_user_func() in Middleware.php line 142
  14. at Middleware->think\{closure}() in Pipeline.php line 85
  15. at Pipeline->think\{closure}() in Pipeline.php line 66
  16. at Pipeline->then() in Http.php line 205
  17. at Http->runWithRequest() in Http.php line 170
  18. at Http->run() in index.php line 20

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Session
url /mobile/Index/index
Server/Request Data
USER www
HOME /home/www
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST bonystudio.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME bonystudio.com
SERVER_PORT 443
SERVER_ADDR 10.0.0.50
REMOTE_PORT 43072
REMOTE_ADDR 3.89.163.120
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/bonystudio.com/public
DOCUMENT_URI /index.php
REQUEST_URI /
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_FILENAME /www/wwwroot/bonystudio.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711661351.4061
REQUEST_TIME 1711661351