[0] InvalidArgumentException in Attribute.php line 559

类的属性不存在:app\common\model\ContactUs->jobs

  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('jobs', null) in Attribute.php line 515
  3. at Model->getAttr('jobs') in Model.php line 1085
  4. at Model->offsetGet('jobs') in a31a580c93615e542241f33d5364f810.php line 84
  5. at include('/mnt/www/caizitou_tp...') in File.php line 59
  6. at File->read('/mnt/www/caizitou_tp...', ['datas' => object(Collection), 'text' => null]) in Template.php line 226
  7. at Template->fetch('/mnt/www/caizitou_tp...', ['datas' => object(Collection), 'text' => null], []) in Think.php line 93
  8. at Think->fetch('/mnt/www/caizitou_tp...', ['datas' => object(Collection), 'text' => null], []) in View.php line 192
  9. at View->fetch('contact/index', ['datas' => object(Collection), 'text' => null], [], false) in View.php line 42
  10. at View->output('contact/index') 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_HOST caizitou.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
REDIRECT_STATUS 200
SERVER_NAME caizitou.com
SERVER_PORT 80
SERVER_ADDR 172.16.0.11
REMOTE_PORT 39614
REMOTE_ADDR 54.82.44.149
SERVER_SOFTWARE nginx/1.14.2
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /mnt/www/caizitou_tp/public
DOCUMENT_URI /index.php
REQUEST_URI /contact
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=//contact
SCRIPT_FILENAME /mnt/www/caizitou_tp/public/index.php
PATH_INFO
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711670012.8417
REQUEST_TIME 1711670012
Environment Variablesempty
ThinkPHP Constantsempty