[2] ErrorException in 71ad10fb4ba1dc045611afd3d39d4b7b.php line 164

Invalid argument supplied for foreach()

  1. </div>
  2. <div class="product-info">
  3. <div class="content">
  4. <div class="number">
  5. <span class="number-first" id="numsas">01</span>/<span class="number-second"><?php echo count($product['images']); ?></span>
  6. </div>
  7. <div class="gallery">
  8. <div class="pic-origin">
  9. <ul class="origin-list">
  10. <?php foreach($product['images'] as $images): ?>
  11. <li><img src="<?php echo htmlentities($images); ?>"></li>
  12. <?php endforeach; ?>
  13. </ul>
  14. </div>
  15. <div class="pic-thumbnail">
  16. <button class="btn-prev">&lsaquo;</button>
  17. <div class="thumbnail-list-container">
  18. <ul class="thumbnail-list">
  19. <?php foreach($product['images'] as $images): ?>

Call Stack

  1. in 71ad10fb4ba1dc045611afd3d39d4b7b.php line 164
  2. at Error::appError(2, 'Invalid argument sup...', '/www/wwwroot/monami....', 164, ['cacheFile' => '/www/wwwroot/monami....', 'vars' => ['category_trees' => [['id' => 10, 'pid' => 0, 'name' => '书写笔', ...], ['id' => 11, 'pid' => 0, 'name' => '记号笔', ...], ['id' => 12, 'pid' => 0, 'name' => '铅笔', ...], ...], 'category' => object(Collection), 'wechat_sina' => ['weixin_qrcode' => '/uploads/attachment/...', 'weibo_qrcode' => '/uploads/attachment/...'], ...], 'category_trees' => [['id' => 10, 'pid' => 0, 'name' => '书写笔', ...], ['id' => 11, 'pid' => 0, 'name' => '记号笔', ...], ['id' => 12, 'pid' => 0, 'name' => '铅笔', ...], ...], ...]) in 71ad10fb4ba1dc045611afd3d39d4b7b.php line 164
  3. at include('/www/wwwroot/monami....') in File.php line 59
  4. at File->read('/www/wwwroot/monami....', ['category_trees' => [['id' => 10, 'pid' => 0, 'name' => '书写笔', ...], ['id' => 11, 'pid' => 0, 'name' => '记号笔', ...], ['id' => 12, 'pid' => 0, 'name' => '铅笔', ...], ...], 'category' => object(Collection), 'wechat_sina' => ['weixin_qrcode' => '/uploads/attachment/...', 'weibo_qrcode' => '/uploads/attachment/...'], ...]) in Template.php line 226
  5. at Template->fetch('/www/wwwroot/monami....', ['category_trees' => [['id' => 10, 'pid' => 0, 'name' => '书写笔', ...], ['id' => 11, 'pid' => 0, 'name' => '记号笔', ...], ['id' => 12, 'pid' => 0, 'name' => '铅笔', ...], ...], 'category' => object(Collection), 'wechat_sina' => ['weixin_qrcode' => '/uploads/attachment/...', 'weibo_qrcode' => '/uploads/attachment/...'], ...], []) in Think.php line 93
  6. at Think->fetch('/www/wwwroot/monami....', ['category_trees' => [['id' => 10, 'pid' => 0, 'name' => '书写笔', ...], ['id' => 11, 'pid' => 0, 'name' => '记号笔', ...], ['id' => 12, 'pid' => 0, 'name' => '铅笔', ...], ...], 'category' => object(Collection), 'wechat_sina' => ['weixin_qrcode' => '/uploads/attachment/...', 'weibo_qrcode' => '/uploads/attachment/...'], ...], []) in View.php line 192
  7. at View->fetch('detail', ['category_trees' => [['id' => 10, 'pid' => 0, 'name' => '书写笔', ...], ['id' => 11, 'pid' => 0, 'name' => '记号笔', ...], ['id' => 12, 'pid' => 0, 'name' => '铅笔', ...], ...], 'category' => object(Collection), 'wechat_sina' => ['weixin_qrcode' => '/uploads/attachment/...', 'weibo_qrcode' => '/uploads/attachment/...'], ...], [], false) in View.php line 42
  8. at View->output('detail') in Response.php line 396
  9. at Response->getContent() in Response.php line 128
  10. at Response->send() in index.php line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST www.monami.com.cn
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME monami.com.cn
SERVER_PORT 80
SERVER_ADDR 172.23.84.98
REMOTE_PORT 60392
REMOTE_ADDR 3.81.30.41
SERVER_SOFTWARE nginx/1.18.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/monami.com.cn/public
DOCUMENT_URI /index.php
REQUEST_URI /index/product/detail/id/179.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/index/product/detail/id/179.html
SCRIPT_FILENAME /www/wwwroot/monami.com.cn/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711636311.4229
REQUEST_TIME 1711636311
Environment Variablesempty
ThinkPHP Constants
URL_CURRENT url://current
URL_RELOAD url://reload
URL_BACK url://back