[0] InvalidArgumentException in Attribute.php line 559

类的属性不存在:app\admin\model\Jiang->author_photo

  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() in Attribute.php line 515
  3. at Model->getAttr() in Model.php line 1094
  4. at Model->offsetGet() in cb5bc6b981a52f00323df0b396a3b1a1.php line 304
  5. at include('/www/wwwroot/yooben....') in File.php line 59
  6. at File->read() in Template.php line 226
  7. at Template->fetch() in Think.php line 93
  8. at Think->fetch() in View.php line 192
  9. at View->fetch() in View.php line 42
  10. at View->output() 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 Data
keyword
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST yooben.vhost189.datalink.cc
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME yooben.vhost189.datalink.cc
SERVER_PORT 80
SERVER_ADDR 172.19.152.116
REMOTE_PORT 51340
REMOTE_ADDR 54.92.135.47
SERVER_SOFTWARE nginx/1.20.1
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/yooben.vhost189.datalink.cc/public
DOCUMENT_URI /index.php
REQUEST_URI /index/index/search/type/3.html?keyword=
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/index/index/search/type/3.html&keyword=
SCRIPT_FILENAME /www/wwwroot/yooben.vhost189.datalink.cc/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711690922.8351
REQUEST_TIME 1711690922
Environment Variablesempty
ThinkPHP Constants
HTMLPURIFIER_PREFIX /www/wwwroot/yooben.vhost189.datalink.cc/vendor/ezyang/htmlpurifier/library