[0] InvalidArgumentException in Attribute.php line 559

类的属性不存在:app\common\model\Center->initial

  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('initial', null) in Attribute.php line 515
  3. at Model->getAttr('initial') in Model.php line 1038
  4. at Model->__get('initial') in Tfunction.php line 110
  5. at Activity->getActivityArea(object(Collection)) in Activity.php line 35
  6. at Activity->index()
  7. at ReflectionMethod->invokeArgs(object(Activity), []) in Container.php line 373
  8. at Container->invokeMethod([object(Activity), 'index'], []) in App.php line 791
  9. at App->action('index/Activity/index', [], 'controller', false) in Controller.php line 26
  10. at Controller->exec() in Dispatch.php line 168
  11. at Dispatch->run() in App.php line 432
  12. at App->think\{closure}(object(Request), object(Closure), null)
  13. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  14. at Middleware->think\{closure}(object(Request))
  15. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  16. at Middleware->dispatch(object(Request)) in App.php line 435
  17. at App->run() in index.php line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Session
guest { "User": { "sn": 0, "agent": 0, "ip": "3.80.211.101", "referer": "http:\/\/nj.zkedu.com.cn\/activity.html", "sessid": "faosch5af84h086em0j64inpic", "datetime": "2024-03-28 22:25;58", "isfirst": 1 } }
Server/Request Data
USER zkedu
HOME /var/www
HTTP_HOST www.nanjingmba.cn
HTTP_REFERER http://nj.zkedu.com.cn/activity.html
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
REDIRECT_STATUS 200
SERVER_NAME www.nanjingmba.cn
SERVER_PORT 80
SERVER_ADDR 172.19.238.79
REMOTE_PORT 48020
REMOTE_ADDR 3.80.211.101
SERVER_SOFTWARE nginx/1.12.2
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /var/www/nanjing.zkedu.com.cn/public
DOCUMENT_URI /index.php
REQUEST_URI /activity.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=//activity.html
SCRIPT_FILENAME /var/www/nanjing.zkedu.com.cn/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711635958.1087
REQUEST_TIME 1711635958
Environment Variablesempty
ThinkPHP Constantsempty