#0 [8]ErrorException in 2737080dee557ce9fca8f24f541c1200.php line 110

未定义变量: name

  1. <!-- banner -->
  2. <div class="n_banner">
  3. <img src="<?php echo htmlentities($banner['image']); ?>" alt="">
  4. </div>
  5. <!-- banner end -->
  6. <div class="er_nar">
  7. <div class="wp">
  8. <?php foreach($list1 as $v): ?>
  9. <a href="<?php echo url('products/get',['name'=>$v['name']]); ?>" class="<?php echo $name==$v['name'] ? 'on' : '';; ?>"><?php echo htmlentities($v['name']); ?><em></em></a>
  10. <?php endforeach; ?>
  11. <!-- <a href="" class="on">Woven Products<em></em></a> -->
  12. <!-- <a href="">Promotional<em></em></a> -->
  13. </div>
  14. </div>
  15. <div class="h"></div>
  16. <div class="wp">
  17. <div class="product_list">
  18. <?php foreach($data as $v): ?>

Call Stack

  1. in 2737080dee557ce9fca8f24f541c1200.php line 110
  2. at Error->appError(8, 'Undefined variable: ...', '/www/wwwroot/shengka...', 110, ['cacheFile' => '/www/wwwroot/shengka...', 'vars' => ['newproduct' => [[object(SystemClass), object(SystemClass), object(SystemClass), ...], [object(SystemClass), object(SystemClass)]], 'list1' => object(Collection), 'list2' => object(Collection), ...], 'newproduct' => [[object(SystemClass), object(SystemClass), object(SystemClass), ...], [object(SystemClass), object(SystemClass)]], ...]) in 2737080dee557ce9fca8f24f541c1200.php line 110
  3. at include('/www/wwwroot/shengka...') in File.php line 59
  4. at File->read('/www/wwwroot/shengka...', ['newproduct' => [[object(SystemClass), object(SystemClass), object(SystemClass), ...], [object(SystemClass), object(SystemClass)]], 'list1' => object(Collection), 'list2' => object(Collection), ...]) in Template.php line 251
  5. at Template->fetch('/www/wwwroot/shengka...', ['newproduct' => [[object(SystemClass), object(SystemClass), object(SystemClass), ...], [object(SystemClass), object(SystemClass)]], 'list1' => object(Collection), 'list2' => object(Collection), ...]) in Think.php line 149
  6. at Think->fetch('/www/wwwroot/shengka...', ['newproduct' => [[object(SystemClass), object(SystemClass), object(SystemClass), ...], [object(SystemClass), object(SystemClass)]], 'list1' => object(Collection), 'list2' => object(Collection), ...]) in View.php line 90
  7. at View->think\{closure}() in View.php line 122
  8. at View->getContent(object(Closure)) in View.php line 91
  9. at View->fetch('', [], false) in View.php line 90
  10. at View->output('') in Response.php line 385
  11. at Response->getContent() in Response.php line 131
  12. at Response->send() in index.php line 28

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST shengkai.yztee.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME shengkai.yztee.com
SERVER_PORT 80
SERVER_ADDR 10.61.51.112
REMOTE_PORT 55560
REMOTE_ADDR 34.238.242.168
SERVER_SOFTWARE nginx/1.18.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/shengkai.yztee.com/public
DOCUMENT_URI /index.php
REQUEST_URI /home/Products/index.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/home/Products/index.html
SCRIPT_FILENAME /www/wwwroot/shengkai.yztee.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711723064.0549
REQUEST_TIME 1711723064