#0 [8]ErrorException in 3970e052a40e40800b6304c045dfa223.php line 112

未定义变量: categorypos

  1. </div>
  2. </div>
  3. <div class="container">
  4. <div class="row">
  5. <!-- right -->
  6. <div class="col-xs-12 col-sm-8 col-md-9" style="float:right">
  7. <div class="positionBox">
  8. <div class="titleBar">
  9. <h5> 当前位置 </h5>
  10. <span> <a href='/'>首页</a> <?php if(is_array($categorypos) || $categorypos instanceof \think\Collection || $categorypos instanceof \think\Paginator): $i = 0; $__LIST__ = $categorypos;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>> <a href="<?php echo url('/'.$v['htmldir']); ?>"><?php echo htmlentities($v['catname']); ?></a> <?php endforeach; endif; else: echo "" ;endif; ?> </span>
  11. </div>
  12. </div>
  13. <div class="nameList">
  14. <ul>
  15. <?php if(is_array($lists) || $lists instanceof \think\Collection || $lists instanceof \think\Paginator): $i = 0; $__LIST__ = $lists;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
  16. <li> <h4><span> > </span> <a href="<?php echo url('/article/'.$v['id']); ?>"> <?php echo htmlentities($v['title']); ?> </a> <span class="time"> <?php echo slytime('Y-m-d', $v['create_time']); ?> </span></h4>
  17. <p><?php echo htmlentities($v['description']); ?> <a href="<?php echo url('/article/'.$v['id']); ?>" class="btn btn-xs btn-info pull-right">查看详情</a></a></p> </li>
  18. <?php endforeach; endif; else: echo "" ;endif; ?>
  19. </ul>

Call Stack

  1. in 3970e052a40e40800b6304c045dfa223.php line 112
  2. at Error->appError(8, 'Undefined variable: ...', '/mnt/web/cmumv_com/p...', 112, ['cacheFile' => '/mnt/web/cmumv_com/p...', 'vars' => ['is_mobile' => 0, 'keyword' => '', 'one_cate' => object(Collection), ...], 'is_mobile' => 0, ...]) in 3970e052a40e40800b6304c045dfa223.php line 112
  3. at include('/mnt/web/cmumv_com/p...') in File.php line 59
  4. at File->read('/mnt/web/cmumv_com/p...', ['is_mobile' => 0, 'keyword' => '', 'one_cate' => object(Collection), ...]) in Template.php line 255
  5. at Template->fetch('/mnt/web/cmumv_com/p...', ['is_mobile' => 0, 'keyword' => '', 'one_cate' => object(Collection), ...]) in Think.php line 149
  6. at Think->fetch('/mnt/web/cmumv_com/p...', ['is_mobile' => 0, 'keyword' => '', 'one_cate' => object(Collection), ...]) in View.php line 90
  7. at View->think\{closure}() in View.php line 126
  8. at View->getContent(object(Closure)) in View.php line 91
  9. at View->fetch('')
  10. at call_user_func_array([object(View), 'fetch'], ['']) in Facade.php line 96
  11. at Facade::__callStatic('fetch', ['']) in Article.php line 163
  12. at Article->index()
  13. at ReflectionMethod->invokeArgs(object(Article), []) in Container.php line 343
  14. at Container->invokeReflectMethod(object(Article), object(ReflectionMethod), ['tid' => '12']) in Controller.php line 110
  15. at Controller->think\route\dispatch\{closure}(object(Request)) in Pipeline.php line 59
  16. at Pipeline->think\{closure}(object(Request)) in Browers.php line 57
  17. at Browers->handle(object(Request), object(Closure))
  18. at call_user_func([object(Browers), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  19. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  20. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  21. at Pipeline->then(object(Closure)) in Controller.php line 113
  22. at Controller->exec() in Dispatch.php line 89
  23. at Dispatch->run() in Route.php line 772
  24. at Route->think\{closure}(object(Request)) in Pipeline.php line 59
  25. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  26. at Pipeline->then(object(Closure)) in Route.php line 773
  27. at Route->dispatch(object(Request), object(Closure)) in Http.php line 216
  28. at Http->dispatchToRoute(object(Request)) in Http.php line 206
  29. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  30. at Pipeline->think\{closure}(object(Request)) in MultiApp.php line 71
  31. at MultiApp->think\app\{closure}(object(Request)) in Pipeline.php line 59
  32. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  33. at Pipeline->then(object(Closure)) in MultiApp.php line 72
  34. at MultiApp->handle(object(Request), object(Closure))
  35. at call_user_func([object(MultiApp), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  36. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  37. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  38. at SessionInit->handle(object(Request), object(Closure))
  39. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  40. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  41. at Pipeline->think\{closure}(object(Request)) in TraceDebug.php line 71
  42. at TraceDebug->handle(object(Request), object(Closure))
  43. at call_user_func([object(TraceDebug), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  44. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  45. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  46. at Pipeline->then(object(Closure)) in Http.php line 207
  47. at Http->runWithRequest(object(Request)) in Http.php line 170
  48. at Http->run() in index.php line 20

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /dev/null
HTTP_HOST cmumv.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
REDIRECT_STATUS 200
SERVER_NAME cmumv.com
SERVER_PORT 80
SERVER_ADDR 172.17.235.77
REMOTE_PORT 51012
REMOTE_ADDR 54.85.255.74
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /mnt/web/cmumv_com/public_html/public
DOCUMENT_URI /index.php
REQUEST_URI /about/12.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=//about/12.html
SERVER_SOFTWARE nginx
GATEWAY_INTERFACE CGI/1.1
PATH_INFO
SCRIPT_FILENAME /mnt/web/cmumv_com/public_html/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710835102.8855
REQUEST_TIME 1710835102