[0] InvalidArgumentException in Attribute.php line 554

类的属性不存在:app\common\model\House->xcid

  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 554
  2. at Model->getRelationAttribute('xcid', null) in Attribute.php line 510
  3. at Model->getAttr('xcid') in Model.php line 1069
  4. at Model->offsetGet('xcid') in 90ddc2d76ce64828fdd58f6bb42c128e.php line 1089
  5. at include('/www/wwwroot/fang/ru...') in File.php line 59
  6. at File->read('/www/wwwroot/fang/ru...', ['userInfo' => null, 'menu' => ['Index' => ['id' => 1, 'pid' => 0, 'title' => '首页', ...], 'House' => ['id' => 2, 'pid' => 0, 'title' => '新房', ...], 'Second' => ['id' => 3, 'pid' => 0, 'title' => '二手房', ...], ...], 'seo' => ['title' => '...', 'keys' => '...', 'desc' => ''], ...]) in Template.php line 226
  7. at Template->fetch('/www/wwwroot/fang/ap...', ['userInfo' => null, 'menu' => ['Index' => ['id' => 1, 'pid' => 0, 'title' => '首页', ...], 'House' => ['id' => 2, 'pid' => 0, 'title' => '新房', ...], 'Second' => ['id' => 3, 'pid' => 0, 'title' => '二手房', ...], ...], 'seo' => ['title' => '...', 'keys' => '...', 'desc' => ''], ...], []) in Think.php line 93
  8. at Think->fetch('/www/wwwroot/fang/ap...', ['userInfo' => null, 'menu' => ['Index' => ['id' => 1, 'pid' => 0, 'title' => '首页', ...], 'House' => ['id' => 2, 'pid' => 0, 'title' => '新房', ...], 'Second' => ['id' => 3, 'pid' => 0, 'title' => '二手房', ...], ...], 'seo' => ['title' => '...', 'keys' => '...', 'desc' => ''], ...], []) in View.php line 189
  9. at View->fetch('', ['userInfo' => null, 'menu' => ['Index' => ['id' => 1, 'pid' => 0, 'title' => '首页', ...], 'House' => ['id' => 2, 'pid' => 0, 'title' => '新房', ...], 'Second' => ['id' => 3, 'pid' => 0, 'title' => '二手房', ...], ...], 'seo' => ['title' => '...', 'keys' => '...', 'desc' => ''], ...], []) in Controller.php line 161
  10. at Controller->fetch() in House.php line 181
  11. at House->detail()
  12. at ReflectionMethod->invokeArgs(object(House), []) in Container.php line 395
  13. at Container->invokeReflectMethod(object(House), object(ReflectionMethod), ['id' => '7147', 'city' => '1', 'convert' => false]) in Module.php line 132
  14. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  15. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  16. at Middleware->think\{closure}(object(Request))
  17. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  18. at Middleware->dispatch(object(Request), 'controller') in Module.php line 137
  19. at Module->exec() in Dispatch.php line 168
  20. at Dispatch->run() in App.php line 432
  21. at App->think\{closure}(object(Request), object(Closure), null)
  22. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  23. at Middleware->think\{closure}(object(Request))
  24. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  25. at Middleware->dispatch(object(Request)) in App.php line 435
  26. at App->run() in index.php line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
cityInfo { "id": 35, "name": "\u6f4d\u574a\u5e02", "domain": "www", "seo_title": "\u6f4d\u574a\u5546\u94fa\u51fa\u79df\u8f6c\u8ba9_\u6f4d\u574a\u5382\u623f\u571f\u5730\u51fa\u79df_\u6f4d\u574a\u5e97\u94fa\u8f6c\u8ba9\u51fa\u79df_\u5feb\u79df\u7f51", "seo_keys": "\u6f4d\u574a\u5546\u94fa\uff0c\u6f4d\u574a\u5382\u623f\uff0c\u6f4d\u574a\u5546\u94fa\u51fa\u79df\uff0c\u6f4d\u574a\u5382\u623f\u51fa\u79df\uff0c\u6f4d\u574a", "seo_desc": "\u6f4d\u574a\u5546\u94fa\u4fe1\u606f\uff0c\u6f4d\u574a\u5546\u94fa\u8f6c\u8ba9\uff0c\u6f4d\u574a\u62db\u5546\u52a0\u76df\uff0c\u6f4d\u574a\u521b\u4e1a\u9879\u76ee\uff0c\u6f4d\u574a\u571f\u5730\u51fa\u79df\uff0c\u6f4d\u574a\u4ed3\u5e93\u51fa\u79df\uff0c\u6f4d\u574a\u751f\u610f\u8f6c\u8ba9\uff0c\u5feb\u79df\u7f51\uff0c\u6f4d\u574a\u4e07\u8fbe\u5546\u94fa\uff0c\u6f4d\u574a\u5546\u94fa\u8f6c\u8ba9\u51fa\u79df\uff0c\u5feb\u79df\u7f51\uff0c\u6f4d\u574a\u751f\u610f\u8f6c\u8ba9\uff0c\u6f4d\u574a\u5b75\u5316\u5668\uff0c\u6f4d\u574a\u5de5\u4e1a\u56ed\uff0c\u6f4d\u574a\u4ea7\u4e1a\u56ed\u62db\u5546" }
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST kuaizuyi.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.kuaizu.net
SERVER_PORT 80
SERVER_ADDR 121.42.141.75
REMOTE_PORT 55158
REMOTE_ADDR 3.89.116.152
SERVER_SOFTWARE nginx/1.8.1
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/fang/public
DOCUMENT_URI /index.php
REQUEST_URI /loupan-7147.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/loupan-7147.html
SCRIPT_FILENAME /www/wwwroot/fang/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711623264.2863
REQUEST_TIME 1711623264
Environment Variablesempty
ThinkPHP Constants
QINIU_FUNCTIONS_VERSION 7.2.7