[8] ErrorException in ee2155535743c6c47a979a3e5a64698e.php line 286

未定义数组索引: id

  1. <?php endforeach; ?>
  2. </ul>
  3. </div>
  4. <div class="new_title wow fadeInUp">
  5. <span></span>
  6. <h1>最新原创</h1>
  7. </div>
  8. <div class="new_hot wow fadeInUp">
  9. <div class="new_hot_one">
  10. <a href="<?php echo htmlentities(app('config')->get('__BASE_URL__')); ?>/news/p/<?php echo htmlentities($newsImg['id']); ?>.html">
  11. <div class="new_hot_img">
  12. <img src="<?php echo htmlentities($newsImg['thumbnail']); ?>">
  13. </div>
  14. <div class="new_hot_main">
  15. <h3><?php echo htmlentities($newsImg['title']); ?></h3>
  16. <p><?php echo htmlentities($newsImg['description']); ?></p>
  17. <h4><?php echo htmlentities($newsImg['createTime']); ?></h4>
  18. </div>
  19. </a>

Call Stack

  1. in ee2155535743c6c47a979a3e5a64698e.php line 286
  2. at Error::appError(8, 'Undefined index: id', '/var/www/lianzhu/run...', 286, ['cacheFile' => '/var/www/lianzhu/run...', 'vars' => ['webmenu' => [['id' => '10', 'name' => '关于链筑', 'value' => 'About', ...], ['id' => '2', 'name' => '行业资讯', 'value' => 'Industry', ...], ['id' => '8', 'name' => '研究报告', 'value' => 'Standard', ...], ...], 'foot' => object(Collection), 'ad' => [['id' => '9', 'cid' => '51', 'title' => '申请入会', ...], ['id' => '14', 'cid' => '50', 'title' => '最新活动', ...], ['id' => '3', 'cid' => '0', 'title' => '首页-装配标准', ...], ...], ...], 'webmenu' => [['id' => '10', 'name' => '关于链筑', 'value' => 'About', ...], ['id' => '2', 'name' => '行业资讯', 'value' => 'Industry', ...], ['id' => '8', 'name' => '研究报告', 'value' => 'Standard', ...], ...], ...]) in ee2155535743c6c47a979a3e5a64698e.php line 286
  3. at include('/var/www/lianzhu/run...') in File.php line 59
  4. at File->read('/var/www/lianzhu/run...', ['webmenu' => [['id' => '10', 'name' => '关于链筑', 'value' => 'About', ...], ['id' => '2', 'name' => '行业资讯', 'value' => 'Industry', ...], ['id' => '8', 'name' => '研究报告', 'value' => 'Standard', ...], ...], 'foot' => object(Collection), 'ad' => [['id' => '9', 'cid' => '51', 'title' => '申请入会', ...], ['id' => '14', 'cid' => '50', 'title' => '最新活动', ...], ['id' => '3', 'cid' => '0', 'title' => '首页-装配标准', ...], ...], ...]) in Template.php line 226
  5. at Template->fetch('/var/www/lianzhu/app...', ['webmenu' => [['id' => '10', 'name' => '关于链筑', 'value' => 'About', ...], ['id' => '2', 'name' => '行业资讯', 'value' => 'Industry', ...], ['id' => '8', 'name' => '研究报告', 'value' => 'Standard', ...], ...], 'foot' => object(Collection), 'ad' => [['id' => '9', 'cid' => '51', 'title' => '申请入会', ...], ['id' => '14', 'cid' => '50', 'title' => '最新活动', ...], ['id' => '3', 'cid' => '0', 'title' => '首页-装配标准', ...], ...], ...], []) in Think.php line 93
  6. at Think->fetch('/var/www/lianzhu/app...', ['webmenu' => [['id' => '10', 'name' => '关于链筑', 'value' => 'About', ...], ['id' => '2', 'name' => '行业资讯', 'value' => 'Industry', ...], ['id' => '8', 'name' => '研究报告', 'value' => 'Standard', ...], ...], 'foot' => object(Collection), 'ad' => [['id' => '9', 'cid' => '51', 'title' => '申请入会', ...], ['id' => '14', 'cid' => '50', 'title' => '最新活动', ...], ['id' => '3', 'cid' => '0', 'title' => '首页-装配标准', ...], ...], ...], []) in View.php line 189
  7. at View->fetch('', ['webmenu' => [['id' => '10', 'name' => '关于链筑', 'value' => 'About', ...], ['id' => '2', 'name' => '行业资讯', 'value' => 'Industry', ...], ['id' => '8', 'name' => '研究报告', 'value' => 'Standard', ...], ...], 'foot' => object(Collection), 'ad' => [['id' => '9', 'cid' => '51', 'title' => '申请入会', ...], ['id' => '14', 'cid' => '50', 'title' => '最新活动', ...], ['id' => '3', 'cid' => '0', 'title' => '首页-装配标准', ...], ...], ...], []) in Controller.php line 161
  8. at Controller->fetch() in News.php line 128
  9. at News->detail()
  10. at ReflectionMethod->invokeArgs(object(News), []) in Container.php line 395
  11. at Container->invokeReflectMethod(object(News), object(ReflectionMethod), ['name' => 'news', 'id' => '997', 'convert' => false]) in Module.php line 132
  12. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  13. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  14. at Middleware->think\{closure}(object(Request))
  15. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  16. at Middleware->dispatch(object(Request), 'controller') in Module.php line 137
  17. at Module->exec() in Dispatch.php line 168
  18. at Dispatch->run() in App.php line 432
  19. at App->think\{closure}(object(Request), object(Closure), null)
  20. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  21. at Middleware->think\{closure}(object(Request))
  22. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  23. at Middleware->dispatch(object(Request)) in App.php line 435
  24. at App->run() in index.php line 34

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
REDIRECT_UNIQUE_ID ZgUvR-ikPZhV95cR@@mBEwAAAAI
REDIRECT_STATUS 200
UNIQUE_ID ZgUvR-ikPZhV95cR@@mBEwAAAAI
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_HOST www.crepmc.com
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
SERVER_SIGNATURE
SERVER_SOFTWARE Apache/2.4.6 (CentOS) PHP/7.2.21
SERVER_NAME www.crepmc.com
SERVER_ADDR 172.17.132.145
SERVER_PORT 80
REMOTE_ADDR 34.204.52.16
DOCUMENT_ROOT /var/www/lianzhu/public
REQUEST_SCHEME http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /var/www/lianzhu/public
SERVER_ADMIN root@localhost
SCRIPT_FILENAME /var/www/lianzhu/public/index.php
REMOTE_PORT 51412
REDIRECT_QUERY_STRING =/home/news/p/997.html
REDIRECT_URL /home/news/p/997.html
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING =/home/news/p/997.html
REQUEST_URI /home/news/p/997.html
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711615815.329
REQUEST_TIME 1711615815
Environment Variablesempty
ThinkPHP Constants
BIND_MODULE home
RUNTIME_PATH /var/www/lianzhu/public/../runtime/
PUBLIC_PATH /var/www/lianzhu/public/../public/
APP_PATH /var/www/lianzhu/public/../application/
ADDON_PATH /var/www/lianzhu/addons/