[0] InvalidArgumentException in Attribute.php line 559

类的属性不存在:app\common\model\ShopCpCate->cover

  1. }
  2. // 保存关联对象值
  3. $this->relation[$name] = $value;
  4. return $value;
  5. }
  6. }
  7. throw new InvalidArgumentException('property not exists:' . static::class . '->' . $name);
  8. }
  9. /**
  10. * 数据读取 类型转换
  11. * @access protected
  12. * @param mixed $value 值
  13. * @param string|array $type 要转换的类型
  14. * @return mixed
  15. */

Call Stack

  1. in Attribute.php line 559
  2. at Model->getRelationAttribute('cover', null) in Attribute.php line 515
  3. at Model->getAttr('cover') in Model.php line 1085
  4. at Model->offsetGet('cover') in 8a7fb6389de2b0c98060a821fa51a0ce.php line 191
  5. at include('/www/wwwroot/vip.sho...') in File.php line 59
  6. at File->read('/www/wwwroot/vip.sho...', ['data' => ['seo' => object(DomainSeo), 'info' => object(Shop), 'cate' => object(Collection), ...]]) in Template.php line 226
  7. at Template->fetch('/www/wwwroot/vip.sho...', ['data' => ['seo' => object(DomainSeo), 'info' => object(Shop), 'cate' => object(Collection), ...]], []) in Think.php line 93
  8. at Think->fetch('/www/wwwroot/vip.sho...', ['data' => ['seo' => object(DomainSeo), 'info' => object(Shop), 'cate' => object(Collection), ...]], []) in View.php line 192
  9. at View->fetch('web@template/e/produ...', ['data' => ['seo' => object(DomainSeo), 'info' => object(Shop), 'cate' => object(Collection), ...]], [], false) in View.php line 42
  10. at View->output('web@template/e/produ...') in Response.php line 396
  11. at Response->getContent() in Response.php line 128
  12. 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_ACCEPT_ENCODING
deflate, gzip
HTTP_ACCEPT
*/*
HTTP_HOST
yingkou.ht0574.cn
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
PATH_INFO
REDIRECT_STATUS
200
SERVER_NAME
vip.shoupaiyun.net
SERVER_PORT
80
SERVER_ADDR
156.225.155.202
REMOTE_PORT
20007
REMOTE_ADDR
175.29.105.111
SERVER_SOFTWARE
nginx/1.18.0
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/vip.shoupaiyun.net/public
DOCUMENT_URI
/index.php
REQUEST_URI
/productlist/800.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/productlist/800.html
SCRIPT_FILENAME
/www/wwwroot/vip.shoupaiyun.net/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1603120289.9582
REQUEST_TIME
1603120289
Environment Variablesempty
ThinkPHP Constantsempty