[0] InvalidArgumentException in Attribute.php line 559

类的属性不存在:app\common\model\GuArticle->describe

  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 1085
  4. at Model->offsetGet() in ZhuanController.php line 46
  5. at zhuanController->zhuanDetails()
  6. at ReflectionMethod->invokeArgs() in Container.php line 395
  7. at Container->invokeReflectMethod() in Module.php line 131
  8. at Module->think\route\dispatch\{closure}()
  9. at call_user_func_array() in Middleware.php line 185
  10. at Middleware->think\{closure}()
  11. at call_user_func() in Middleware.php line 130
  12. at Middleware->dispatch() in Module.php line 136
  13. at Module->exec() in Dispatch.php line 168
  14. at Dispatch->run() in App.php line 432
  15. at App->think\{closure}()
  16. at call_user_func_array() in Middleware.php line 185
  17. at Middleware->think\{closure}()
  18. at call_user_func() in Middleware.php line 130
  19. at Middleware->dispatch() in App.php line 435
  20. at App->run() in index.php line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST www.sdswxh.com
HTTP_REFERER http://sdswxh.com/public/index.php/zhuandetails/517.html
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO /zhuandetails/517.html
REDIRECT_STATUS 200
SERVER_NAME sdswxh.com
SERVER_PORT 80
SERVER_ADDR 172.21.243.221
REMOTE_PORT 45122
REMOTE_ADDR 34.203.242.200
SERVER_SOFTWARE nginx/1.21.4
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/sdswxh.com
DOCUMENT_URI /public/index.php/zhuandetails/517.html
REQUEST_URI /public/index.php/zhuandetails/517.html
SCRIPT_NAME /public/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_FILENAME /www/wwwroot/sdswxh.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /public/index.php/zhuandetails/517.html
REQUEST_TIME_FLOAT 1711646301.0687
REQUEST_TIME 1711646301
Environment Variablesempty
ThinkPHP Constants
FILTER_VALIDATE_BOOL 258
HTMLPURIFIER_PREFIX /www/wwwroot/sdswxh.com/vendor/ezyang/htmlpurifier/library
URL_CURRENT url://current
URL_RELOAD url://reload
URL_BACK url://back