[8] ErrorException in e108e5bd5bd829bb9fdf7cf2466765f9.php line 123

Trying to access array offset on value of type null

  1. <div class="block-header bg-gray-lighter">
  2. <h2 class="block-title"><?php echo htmlentities((isset($info['question_content']) && ($info['question_content'] !== '')?$info['question_content']:"")); ?></h2>
  3. </div>
  4. <div class="block-content">
  5. <div class="table table-striped table-borderless">
  6. <div>
  7. <div class="hidden-xs"></div>
  8. <div class="font-s13 text-muted">
  9. <a href="<?php echo url('question/profile/profile', ['id' => $info['member_id']]); ?>"><?php echo htmlentities($info['member_info']['nickName']); ?></a> 发表在 <?php echo htmlentities(time_tran($info['create_time'])); ?>
  10. </div>
  11. </div>
  12. <div>
  13. <div class="block-content document-content">
  14. <?php echo (isset($info['question_detail']) && ($info['question_detail'] !== '')?$info['question_detail']:""); ?>
  15. </div>
  16. <hr>
  17. <ul class="block-options">
  18. <li><span><i class="fa fa-reply"></i> 回复(<?php echo htmlentities($info['answer_count']); ?>)</span></li>

Call Stack

  1. in e108e5bd5bd829bb9fdf7cf2466765f9.php line 123
  2. at Error::appError() in e108e5bd5bd829bb9fdf7cf2466765f9.php line 123
  3. at include('/www/wwwroot/www.sgd...') in File.php line 59
  4. at File->read() in Template.php line 226
  5. at Template->fetch() in Think.php line 93
  6. at Think->fetch() in View.php line 192
  7. at View->fetch() in View.php line 42
  8. at View->output() in Response.php line 396
  9. at Response->getContent() in Response.php line 128
  10. at Response->send() in index.php line 33

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST www.sgdpu.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.sgdpu.com
SERVER_PORT 80
SERVER_ADDR 10.0.8.3
REMOTE_PORT 45456
REMOTE_ADDR 3.89.56.228
SERVER_SOFTWARE nginx/1.22.1
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/www.sgdpu.com/public
DOCUMENT_URI /index.php
REQUEST_URI /question/7641.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/question/7641.html
SCRIPT_FILENAME /www/wwwroot/www.sgdpu.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711624421.5752
REQUEST_TIME 1711624421
Environment Variablesempty
ThinkPHP Constants
ADMIN_FILE adth.php
HTMLPURIFIER_PREFIX /www/wwwroot/www.sgdpu.com/vendor/ezyang/htmlpurifier/library
PUBLIC_PATH /