[8] ErrorException in d5d0d1eaf9f2be3b56ec6bdecaeb3a87.php line 205

Object of class think\model\Collection could not be converted to int

  1. <div class="menu-show ">
  2. <h3>
  3. <i class="fa fa-list" aria-hidden="true"></i>&emsp;
  4. 全部商品分类</h3>
  5. </div>
  6. </div> -->
  7. <div class="header-down-menu-right ">
  8. <ul>
  9. <li <?php if($cate==1): ?>class="active"<?php endif; ?>><a href="/" >办公家具</a></li>
  10. <li <?php if($cate==2): ?>class="active"<?php endif; ?>><a href="/?cate=2" >住宅家具</a></li>
  11. <li <?php if($cate==3): ?>class="active"<?php endif; ?>><a href="/?cate=3" >餐饮家具</a></li>
  12. <li <?php if($cate==4): ?>class="active"<?php endif; ?>><a href="/?cate=4" >公寓家具</a></li>
  13. <li <?php if($cate==5): ?>class="active"<?php endif; ?>><a href="/?cate=5" >茶室家具</a></li>
  14. <li <?php if($cate==7): ?>class="active"<?php endif; ?>><a href="/?cate=7" >红木家具</a></li>
  15. <li <?php if($cate==6): ?>class="active"<?php endif; ?>><a href="/?cate=6" >花卉绿植</a></li>
  16. <li <?php if($cate==8): ?>class="active"<?php endif; ?>><a href="/?cate=8" >会务短租</a></li>
  17. <!-- <li><a href="/lease.html" >以租代购</a></li> -->
  18. <!-- <li><a href="/limits.html">限时抢购</a></li>

Call Stack

  1. in d5d0d1eaf9f2be3b56ec6bdecaeb3a87.php line 205
  2. at Error::appError(8, 'Object of class thin...', '/www/wwwroot/www.jbj...', 205, ['cacheFile' => '/www/wwwroot/www.jbj...', 'vars' => ['config' => ['title' => '...', 'keywords' => '...', 'description' => '...', ...], 'goods_category_index' => [['id' => 1, 'title' => '办公桌系列', 'category' => '1,2,3,4,37,35', ...], ['id' => 2, 'title' => '沙发座椅系列', 'category' => '9,10,11,12,13,7,8,23...', ...], ['id' => 4, 'title' => '会议/公共系列', 'category' => '5,6,16,21,14,15', ...], ...], 'goods_category' => object(Collection), ...], 'config' => ['title' => '...', 'keywords' => '...', 'description' => '...', ...], ...]) in d5d0d1eaf9f2be3b56ec6bdecaeb3a87.php line 205
  3. at include('/www/wwwroot/www.jbj...') in File.php line 59
  4. at File->read('/www/wwwroot/www.jbj...', ['config' => ['title' => '...', 'keywords' => '...', 'description' => '...', ...], 'goods_category_index' => [['id' => 1, 'title' => '办公桌系列', 'category' => '1,2,3,4,37,35', ...], ['id' => 2, 'title' => '沙发座椅系列', 'category' => '9,10,11,12,13,7,8,23...', ...], ['id' => 4, 'title' => '会议/公共系列', 'category' => '5,6,16,21,14,15', ...], ...], 'goods_category' => object(Collection), ...]) in Template.php line 226
  5. at Template->fetch('/www/wwwroot/www.jbj...', ['config' => ['title' => '...', 'keywords' => '...', 'description' => '...', ...], 'goods_category_index' => [['id' => 1, 'title' => '办公桌系列', 'category' => '1,2,3,4,37,35', ...], ['id' => 2, 'title' => '沙发座椅系列', 'category' => '9,10,11,12,13,7,8,23...', ...], ['id' => 4, 'title' => '会议/公共系列', 'category' => '5,6,16,21,14,15', ...], ...], 'goods_category' => object(Collection), ...], []) in Think.php line 93
  6. at Think->fetch('/www/wwwroot/www.jbj...', ['config' => ['title' => '...', 'keywords' => '...', 'description' => '...', ...], 'goods_category_index' => [['id' => 1, 'title' => '办公桌系列', 'category' => '1,2,3,4,37,35', ...], ['id' => 2, 'title' => '沙发座椅系列', 'category' => '9,10,11,12,13,7,8,23...', ...], ['id' => 4, 'title' => '会议/公共系列', 'category' => '5,6,16,21,14,15', ...], ...], 'goods_category' => object(Collection), ...], []) in View.php line 192
  7. at View->fetch('', ['config' => ['title' => '...', 'keywords' => '...', 'description' => '...', ...], 'goods_category_index' => [['id' => 1, 'title' => '办公桌系列', 'category' => '1,2,3,4,37,35', ...], ['id' => 2, 'title' => '沙发座椅系列', 'category' => '9,10,11,12,13,7,8,23...', ...], ['id' => 4, 'title' => '会议/公共系列', 'category' => '5,6,16,21,14,15', ...], ...], 'goods_category' => object(Collection), ...], [], false) in View.php line 42
  8. at View->output('') in Response.php line 396
  9. at Response->getContent() in Response.php line 128
  10. at Response->send() in index.php line 23

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST jbj-china.com.cn
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.jbj-china.com.cn
SERVER_PORT 443
SERVER_ADDR 172.16.126.109
REMOTE_PORT 48002
REMOTE_ADDR 54.160.244.62
SERVER_SOFTWARE nginx/1.16.1
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/www.jbj-china.com.cn/public
DOCUMENT_URI /index.php
REQUEST_URI /fta.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=//fta.html
SCRIPT_FILENAME /www/wwwroot/www.jbj-china.com.cn/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710834636.0956
REQUEST_TIME 1710834636
Environment Variablesempty
ThinkPHP Constants
FILTER_VALIDATE_BOOL 258
VENDOR_PATH /www/wwwroot/www.jbj-china.com.cn/public/../vendor/
EXTEND_PATH /www/wwwroot/www.jbj-china.com.cn/public/../extend/
RUNTIME_PATH /www/wwwroot/www.jbj-china.com.cn/public/../runtime/