[8] ErrorException in 8f1b7ed503ca25910b0d26bf70bfcc4c.php line 206

Trying to access array offset on value of type null

  1. class="iconfont">&#xe698;</i>返回列表</a>
  2. <?php endforeach; endif; else: echo "" ;endif; }
  3. ?>
  4. </div>
  5. <div class="act_backlist wow fadeInRight" data-wow-delay="0.5s">
  6. <ul>
  7. <li>
  8. <p><i class="iconfont">&#xe613;</i>上一条</p>
  9. <?php if($next_article['id']==''): ?> 没有了!
  10. <?php else: ?>
  11. <a href="<?php echo cmf_url('portal/Article/index',array('id'=>$next_article['id'],'cid'=>$category['id'])); ?>" title="<?php echo $next_article['post_title']; ?>"><?php echo $next_article['post_title']; ?></a>
  12. <?php endif; ?>
  13. <span><?php echo date('Y-m-d',$article['published_time']); ?></span>
  14. </li>
  15. <li>
  16. <p><i class="iconfont">&#xe619;</i>下一条</p>
  17. <?php if($prev_article['id']==''): ?> 没有了!

Call Stack

  1. in 8f1b7ed503ca25910b0d26bf70bfcc4c.php line 206
  2. at Error::appError(8, 'Trying to access arr...', '/var/www/lamija.com/...', 206, ['cacheFile' => '/var/www/lamija.com/...', 'vars' => ['site_info' => ['site_name' => '...', 'site_seo_title' => '...', 'site_seo_keywords' => '...', ...], 'category' => object(PortalCategoryModel), 'article' => object(PortalPostModel), ...], 'site_info' => ['site_name' => '...', 'site_seo_title' => '...', 'site_seo_keywords' => '...', ...], ...]) in 8f1b7ed503ca25910b0d26bf70bfcc4c.php line 206
  3. at include('/var/www/lamija.com/...') in File.php line 59
  4. at File->read('/var/www/lamija.com/...', ['site_info' => ['site_name' => '...', 'site_seo_title' => '...', 'site_seo_keywords' => '...', ...], 'category' => object(PortalCategoryModel), 'article' => object(PortalPostModel), ...]) in Template.php line 226
  5. at Template->fetch('/var/www/lamija.com/...', ['site_info' => ['site_name' => '...', 'site_seo_title' => '...', 'site_seo_keywords' => '...', ...], 'category' => object(PortalCategoryModel), 'article' => object(PortalPostModel), ...], []) in Think.php line 93
  6. at Think->fetch('/var/www/lamija.com/...', ['site_info' => ['site_name' => '...', 'site_seo_title' => '...', 'site_seo_keywords' => '...', ...], 'category' => object(PortalCategoryModel), 'article' => object(PortalPostModel), ...], []) in View.php line 189
  7. at View->fetch('/var/www/lamija.com/...', ['site_info' => ['site_name' => '...', 'site_seo_title' => '...', 'site_seo_keywords' => '...', ...], 'category' => object(PortalCategoryModel), 'article' => object(PortalPostModel), ...], []) in Controller.php line 161
  8. at Controller->fetch('/var/www/lamija.com/...', [], [], []) in HomeBaseController.php line 87
  9. at HomeBaseController->fetch('/var/www/lamija.com/...') in ArticleController.php line 80
  10. at ArticleController->index()
  11. at ReflectionMethod->invokeArgs(object(ArticleController), []) in Container.php line 395
  12. at Container->invokeReflectMethod(object(ArticleController), object(ReflectionMethod), ['cid' => '35', 'id' => '209', 'convert' => false]) in Module.php line 132
  13. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  14. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  15. at Middleware->think\{closure}(object(Request))
  16. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  17. at Middleware->dispatch(object(Request), 'controller') 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}(object(Request), object(Closure), null)
  21. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  22. at Middleware->think\{closure}(object(Request))
  23. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  24. at Middleware->dispatch(object(Request)) in App.php line 478
  25. at App->run() in index.php line 33

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME 8870186f57a6
TERM linux
DEBIAN_FRONTEND noninteractive
HOME /var/www
USER www-data
PATH_TRANSLATED /etc/nginx/html//hnews/209.html
ORIG_SCRIPT_FILENAME /var/www/lamija.com/index.php//hnews/209.html
HTTP_HOST lamija.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
REDIRECT_STATUS 200
SERVER_NAME lamija.com
SERVER_PORT 80
SERVER_ADDR 172.19.0.8
REMOTE_PORT 54602
REMOTE_ADDR 44.204.94.166
SERVER_SOFTWARE nginx/1.20.2
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /etc/nginx/html
DOCUMENT_URI /index.php//hnews/209.html
REQUEST_URI /hnews/209.html
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_NAME /index.php//hnews/209.html
SCRIPT_FILENAME /var/www/lamija.com/index.php
PATH_INFO //hnews/209.html
FCGI_ROLE RESPONDER
PHP_SELF /index.php//hnews/209.html//hnews/209.html
REQUEST_TIME_FLOAT 1711671128.9271
REQUEST_TIME 1711671128
argv []
argc 0
Environment Variables
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME 8870186f57a6
TERM linux
DEBIAN_FRONTEND noninteractive
HOME /var/www
USER www-data
PATH_TRANSLATED /etc/nginx/html//hnews/209.html
ORIG_SCRIPT_FILENAME /var/www/lamija.com/index.php//hnews/209.html
HTTP_HOST lamija.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
REDIRECT_STATUS 200
SERVER_NAME lamija.com
SERVER_PORT 80
SERVER_ADDR 172.19.0.8
REMOTE_PORT 54602
REMOTE_ADDR 44.204.94.166
SERVER_SOFTWARE nginx/1.20.2
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /etc/nginx/html
DOCUMENT_URI /index.php//hnews/209.html
REQUEST_URI /hnews/209.html
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_NAME /index.php//hnews/209.html
SCRIPT_FILENAME /var/www/lamija.com/index.php
PATH_INFO //hnews/209.html
FCGI_ROLE RESPONDER
PHP_SELF /index.php//hnews/209.html//hnews/209.html
REQUEST_TIME_FLOAT 1711671128.9271
REQUEST_TIME 1711671128
argv []
argc 0
ThinkPHP Constants
APP_DEBUG true
CMF_ROOT /var/www/lamija.com/
CMF_DATA /var/www/lamija.com/data/
APP_PATH /var/www/lamija.com/app/
WEB_ROOT /var/www/lamija.com/
HTMLPURIFIER_PREFIX /var/www/lamija.com/vendor/ezyang/htmlpurifier/library
DOMDOCUMENT DOMDocument
DOMELEMENT DOMElement
DOMNODELIST DOMNodeList
DOMNODE DOMNode