[8] ErrorException in 60e686ab0d0f8fef1fb8e0db33621024.php line 268

Trying to access array offset on value of type null

  1. <?php endforeach; endif; else: echo "" ;endif; }
  2. ?>
  3. <li class="active"><?php echo $category['name']; ?></li>
  4. </ol>
  5. </div>
  6. <div class="content">
  7. <p class="title"><?php echo $article['post_title']; ?></p>
  8. <p class="time">发布时间:<?php echo date('Y-m-d H:i',$article['published_time']); ?> 作者:<?php echo $article['user']['user_nickname']; ?> 浏览:<?php echo $article['post_hits']; ?></p>
  9. <div class="con">
  10. <?php echo $article['post_content']; ?>
  11. </div>
  12. </div>
  13. <div class="chapter">
  14. <?php if(!empty($prev_article)): ?>
  15. <a href="<?php echo cmf_url('portal/Article/index',array('id'=>$prev_article['id'],'cid'=>$category['id'])); ?>" class="" title="<?php echo $prev_article['post_title']; ?>"><span><</span><?php echo $prev_article['post_title']; ?></a>
  16. <?php endif; if(!empty($next_article)): ?>
  17. <a href="<?php echo cmf_url('portal/Article/index',array('id'=>$next_article['id'],'cid'=>$category['id'])); ?>" class="" title="<?php echo $next_article['post_title']; ?>"><span>></span><?php echo $next_article['post_title']; ?></a>

Call Stack

  1. in 60e686ab0d0f8fef1fb8e0db33621024.php line 268
  2. at Error::appError() in 60e686ab0d0f8fef1fb8e0db33621024.php line 268
  3. at include('/www/wwwroot/www.gdj...') 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 189
  7. at View->fetch() in Controller.php line 161
  8. at Controller->fetch() in HomeBaseController.php line 87
  9. at HomeBaseController->fetch() in ArticleController.php line 80
  10. at ArticleController->index()
  11. at ReflectionMethod->invokeArgs() in Container.php line 395
  12. at Container->invokeReflectMethod() in Module.php line 132
  13. at Module->think\route\dispatch\{closure}()
  14. at call_user_func_array() in Middleware.php line 185
  15. at Middleware->think\{closure}()
  16. at call_user_func() in Middleware.php line 130
  17. at Middleware->dispatch() in Module.php line 137
  18. at Module->exec() in Dispatch.php line 168
  19. at Dispatch->run() in App.php line 475
  20. at App->think\{closure}()
  21. at call_user_func_array() in Middleware.php line 185
  22. at Middleware->think\{closure}()
  23. at call_user_func() in Middleware.php line 130
  24. at Middleware->dispatch() in App.php line 478
  25. at App->run() in index.php line 30

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST www.gdjxu.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.gdjxu.com
SERVER_PORT 80
SERVER_ADDR 10.0.12.12
REMOTE_PORT 45260
REMOTE_ADDR 54.173.221.132
SERVER_SOFTWARE nginx/1.21.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/www.gdjxu.com/public
DOCUMENT_URI /index.php
REQUEST_URI /article/210/6.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=article/210/6.html
SCRIPT_FILENAME /www/wwwroot/www.gdjxu.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711653747.962
REQUEST_TIME 1711653747
Environment Variablesempty
ThinkPHP Constants
APP_DEBUG true
CMF_ROOT /www/wwwroot/www.gdjxu.com/
APP_PATH /www/wwwroot/www.gdjxu.com/app/
WEB_ROOT /www/wwwroot/www.gdjxu.com/public/
HTMLPURIFIER_PREFIX /www/wwwroot/www.gdjxu.com/vendor/ezyang/htmlpurifier/library
0.248365s