#0 [8]ErrorException in ca0d15f4d8e308090cb2c1705a7ae291.php line 309

未定义变量: productList

  1. </div>
  2. <div class="fuBox">
  3. <div class="bti">
  4. 有色商城
  5. </div>
  6. <div class="zhlvbox">
  7. <ul>
  8. <?php if(is_array($productList) || $productList instanceof \think\Collection || $productList instanceof \think\Paginator): $i = 0; $__LIST__ = $productList;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
  9. <li>
  10. <a href="<?php echo url('Views/index',['pid'=>$vo['id']]); ?>">
  11. <div class="lvBox">
  12. <img src="<?php echo htmlentities((isset($vo['litpic']) && ($vo['litpic'] !== '')?$vo['litpic']:'/static/jinshu/images/lva_11.png')); ?>" class="lvPic">
  13. <div class="luText oneline"><?php echo htmlentities($vo['title']); ?></div>
  14. </div>
  15. </a>
  16. </li>
  17. <?php endforeach; endif; else: echo "" ;endif; ?>

Call Stack

  1. in ca0d15f4d8e308090cb2c1705a7ae291.php line 309
  2. at Error->appError(8, 'Undefined variable: ...', '/www/wwwroot/hnnm.cn...', 309, ['cacheFile' => '/www/wwwroot/hnnm.cn...', 'vars' => ['Config' => ['web_status' => '1', 'web_name' => '...', 'web_logo' => '', ...], 'idList' => ['tid' => 12, 'aid' => 0, 'cid' => 0], 'menuList' => [object(Arctype), object(Arctype), object(Arctype), ...], ...], 'Config' => ['web_status' => '1', 'web_name' => '...', 'web_logo' => '', ...], ...]) in ca0d15f4d8e308090cb2c1705a7ae291.php line 309
  3. at include('/www/wwwroot/hnnm.cn...') in File.php line 59
  4. at File->read('/www/wwwroot/hnnm.cn...', ['Config' => ['web_status' => '1', 'web_name' => '...', 'web_logo' => '', ...], 'idList' => ['tid' => 12, 'aid' => 0, 'cid' => 0], 'menuList' => [object(Arctype), object(Arctype), object(Arctype), ...], ...]) in Template.php line 255
  5. at Template->fetch('view/htcms/list_prod...', ['Config' => ['web_status' => '1', 'web_name' => '...', 'web_logo' => '', ...], 'idList' => ['tid' => 12, 'aid' => 0, 'cid' => 0], 'menuList' => [object(Arctype), object(Arctype), object(Arctype), ...], ...]) in Think.php line 149
  6. at Think->fetch('view/htcms/list_prod...', ['Config' => ['web_status' => '1', 'web_name' => '...', 'web_logo' => '', ...], 'idList' => ['tid' => 12, 'aid' => 0, 'cid' => 0], 'menuList' => [object(Arctype), object(Arctype), object(Arctype), ...], ...]) 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('view/htcms/list_prod...')
  10. at call_user_func_array([object(View), 'fetch'], ['view/htcms/list_prod...']) in Facade.php line 96
  11. at Facade::__callStatic('fetch', ['view/htcms/list_prod...']) in Lists.php line 63
  12. at Lists->index()
  13. at ReflectionMethod->invokeArgs(object(Lists), []) in Container.php line 343
  14. at Container->invokeReflectMethod(object(Lists), 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 Pipeline.php line 66
  17. at Pipeline->then(object(Closure)) in Controller.php line 113
  18. at Controller->exec() in Dispatch.php line 89
  19. at Dispatch->run() in Route.php line 772
  20. at Route->think\{closure}(object(Request)) in Pipeline.php line 59
  21. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  22. at Pipeline->then(object(Closure)) in Route.php line 773
  23. at Route->dispatch(object(Request), object(Closure)) in Http.php line 216
  24. at Http->dispatchToRoute(object(Request)) in Http.php line 206
  25. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  26. at Pipeline->think\{closure}(object(Request)) in MultiApp.php line 71
  27. at MultiApp->think\app\{closure}(object(Request)) in Pipeline.php line 59
  28. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  29. at Pipeline->then(object(Closure)) in MultiApp.php line 72
  30. at MultiApp->handle(object(Request), object(Closure))
  31. at call_user_func([object(MultiApp), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  32. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  33. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  34. at SessionInit->handle(object(Request), object(Closure))
  35. at call_user_func([object(SessionInit), '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 LoadLangPack.php line 59
  38. at LoadLangPack->handle(object(Request), object(Closure))
  39. at call_user_func([object(LoadLangPack), '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 /home/www
HTTP_HOST hnnm.cn
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME hnnm.cn
SERVER_PORT 80
SERVER_ADDR 172.26.12.78
REMOTE_PORT 52204
REMOTE_ADDR 54.147.123.159
SERVER_SOFTWARE nginx/1.22.1
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/hnnm.cn
DOCUMENT_URI /index.php
REQUEST_URI /index/list-12.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/index/list-12.html
SCRIPT_FILENAME /www/wwwroot/hnnm.cn/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711706882.6195
REQUEST_TIME 1711706882
0.282428s