37000cm威尼斯(集团)公司官方网站

[8] ErrorException in Index.php line 313

Trying to get property 'category_id' of non-object

  1. public function products_blank($id="")
  2. {
  3. $this->getBanner(82);
  4. if($id){
  5. $detail = ProductModel::where('id',$id)->find();
  6. $sid = $detail->category_id;
  7. }else{
  8. $sid =$this->request->param("sid","");
  9. $this->assign("sid",$sid);
  10. //产品类别
  11. $category = $this->cateProduct;
  12. $sid = $sid ?$sid :$category[0]->id;
  13. }
  14. $where = [];
  15. if($sid){

Call Stack

  1. in Index.php line 313
  2. at Error::appError(8, 'Trying to get proper...', '/usr/home/wh-aaaul8m...', 313, ['id' => 'en', 'detail' => null]) in Index.php line 313
  3. at Index->products_blank('en')
  4. at ReflectionMethod->invokeArgs(object(Index), ['en']) in App.php line 343
  5. at App::invokeMethod([object(Index), 'products_blank'], []) in App.php line 611
  6. at App::module(['cn', 'index', 'products_blank'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 456
  7. at App::exec(['type' => 'module', 'module' => ['cn', 'index', 'products_blank'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  8. at App::run() in start.php line 19
  9. at require('/usr/home/wh-aaaul8m...') in index.php line 18

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

PHPSESSID
94q503ap2esj91c3qjt70hpfcv
Session
empty

Server/Request Data

DOCUMENT_ROOT
/usr/home/wh-aaaul8mjpophwl4fh3b/htdocs
GATEWAY_INTERFACE
CGI/1.1
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
gzip
HTTP_COOKIE
PHPSESSID=94q503ap2esj91c3qjt70hpfcv
HTTP_HOST
www.hondugroup.com
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
PATH
/bin
PHPRC
/var/www/php72/hichina_ini/wh-aaaul8mjpophwl4fh3b
QUERY_STRING
REDIRECT_DOCUMENT_ROOT
/usr/home/wh-aaaul8mjpophwl4fh3b/htdocs
REDIRECT_GATEWAY_INTERFACE
CGI/1.1
REDIRECT_HTTP_ACCEPT
*/*
REDIRECT_HTTP_ACCEPT_ENCODING
gzip
REDIRECT_HTTP_COOKIE
PHPSESSID=94q503ap2esj91c3qjt70hpfcv
REDIRECT_HTTP_HOST
www.hondugroup.com
REDIRECT_HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
REDIRECT_PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
REDIRECT_PATH_INFO
/en/index.html
REDIRECT_PATH_TRANSLATED
redirect:/index.php/en/index.html/index.html
REDIRECT_QUERY_STRING
REDIRECT_REMOTE_ADDR
170.130.201.34
REDIRECT_REMOTE_PORT
33158
REDIRECT_REQUEST_METHOD
GET
REDIRECT_REQUEST_URI
/products/en/index.html
REDIRECT_SCRIPT_FILENAME
/usr/home/wh-aaaul8mjpophwl4fh3b/htdocs/products
REDIRECT_SCRIPT_NAME
/products
REDIRECT_SERVER_ADDR
10.29.54.22
REDIRECT_SERVER_ADMIN
webmaster@wh-aaaul8mjpophwl4fh3b.my3w.com
REDIRECT_SERVER_NAME
www.hondugroup.com
REDIRECT_SERVER_PORT
80
REDIRECT_SERVER_PROTOCOL
HTTP/1.1
REDIRECT_SERVER_SIGNATURE
REDIRECT_SERVER_SOFTWARE
Apache
REDIRECT_STATUS
200
REDIRECT_TZ
Asia/Shanghai
REDIRECT_UNIQUE_ID
Z6M2oAodNhYAD@-xZJ0AAAAO
REDIRECT_URL
/products/en/index.html
REMOTE_ADDR
170.130.201.34
REMOTE_PORT
33158
REQUEST_METHOD
GET
REQUEST_URI
/products/en/index.html
SCRIPT_FILENAME
/usr/home/wh-aaaul8mjpophwl4fh3b/htdocs/index.php
SCRIPT_NAME
/index.php
SERVER_ADDR
10.29.54.22
SERVER_ADMIN
webmaster@wh-aaaul8mjpophwl4fh3b.my3w.com
SERVER_NAME
www.hondugroup.com
SERVER_PORT
80
SERVER_PROTOCOL
HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
TZ
Asia/Shanghai
UNIQUE_ID
Z6M2oAodNhYAD@-xZJ0AAAAO
ORIG_PATH_INFO
/products/en/index.html
ORIG_PATH_TRANSLATED
/usr/home/wh-aaaul8mjpophwl4fh3b/htdocs/index.php
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1738749600.0615
REQUEST_TIME
1738749600
PATH_INFO
/products/en/index.html
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/usr/home/wh-aaaul8mjpophwl4fh3b/htdocs/application/
THINK_VERSION
5.0.25
THINK_START_TIME
1738749600.0622
THINK_START_MEM
387904
EXT
.php
DS
/
THINK_PATH
/usr/home/wh-aaaul8mjpophwl4fh3b/htdocs/thinkphp/
LIB_PATH
/usr/home/wh-aaaul8mjpophwl4fh3b/htdocs/thinkphp/library/
CORE_PATH
/usr/home/wh-aaaul8mjpophwl4fh3b/htdocs/thinkphp/library/think/
TRAIT_PATH
/usr/home/wh-aaaul8mjpophwl4fh3b/htdocs/thinkphp/library/traits/
ROOT_PATH
/usr/home/wh-aaaul8mjpophwl4fh3b/htdocs/
EXTEND_PATH
/usr/home/wh-aaaul8mjpophwl4fh3b/htdocs/extend/
VENDOR_PATH
/usr/home/wh-aaaul8mjpophwl4fh3b/htdocs/vendor/
RUNTIME_PATH
/usr/home/wh-aaaul8mjpophwl4fh3b/htdocs/runtime/
LOG_PATH
/usr/home/wh-aaaul8mjpophwl4fh3b/htdocs/runtime/log/
CACHE_PATH
/usr/home/wh-aaaul8mjpophwl4fh3b/htdocs/runtime/cache/
TEMP_PATH
/usr/home/wh-aaaul8mjpophwl4fh3b/htdocs/runtime/temp/
CONF_PATH
/usr/home/wh-aaaul8mjpophwl4fh3b/htdocs/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
HTMLPURIFIER_PREFIX
/usr/home/wh-aaaul8mjpophwl4fh3b/htdocs/vendor/ezyang/htmlpurifier/library
ADDON_PATH
/usr/home/wh-aaaul8mjpophwl4fh3b/htdocs/addons/