[0] InvalidArgumentException in Attribute.php line 559

類的屬性不存在:app\portal\model\PortalCategoryModel->published_time

  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('published_time', null) in Attribute.php line 515
  3. at Model->getAttr('published_time') in Model.php line 1078
  4. at Model->offsetGet('published_time') in f9e8462768605de32b4608309e534c76.php line 194
  5. at include('/www/wwwroot/lsd/dat...') in File.php line 59
  6. at File->read('/www/wwwroot/lsd/dat...', ['site_info' => ['site_name' => '力士德', 'site_seo_title' => '力士德', 'site_seo_keywords' => '...', ...], 'category' => object(PortalCategoryModel), 'fdata' => object(PortalCategoryModel), ...]) in Template.php line 226
  7. at Template->fetch('/www/wwwroot/lsd/pub...', ['site_info' => ['site_name' => '力士德', 'site_seo_title' => '力士德', 'site_seo_keywords' => '...', ...], 'category' => object(PortalCategoryModel), 'fdata' => object(PortalCategoryModel), ...], []) in Think.php line 93
  8. at Think->fetch('/www/wwwroot/lsd/pub...', ['site_info' => ['site_name' => '力士德', 'site_seo_title' => '力士德', 'site_seo_keywords' => '...', ...], 'category' => object(PortalCategoryModel), 'fdata' => object(PortalCategoryModel), ...], []) in View.php line 189
  9. at View->fetch('/www/wwwroot/lsd/pub...', [], []) in Controller.php line 161
  10. at Controller->fetch('/www/wwwroot/lsd/pub...', [], [], []) in HomeBaseController.php line 87
  11. at HomeBaseController->fetch('/service') in ArticleController.php line 105
  12. at ArticleController->index()
  13. at ReflectionMethod->invokeArgs(object(ArticleController), []) in Container.php line 395
  14. at Container->invokeReflectMethod(object(ArticleController), object(ReflectionMethod), ['id' => '50', 'cid' => '25']) in Module.php line 132
  15. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  16. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  17. at Middleware->think\{closure}(object(Request))
  18. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  19. at Middleware->dispatch(object(Request), 'controller') in Module.php line 137
  20. at Module->exec() in Dispatch.php line 168
  21. at Dispatch->run() in App.php line 475
  22. at App->think\{closure}(object(Request), object(Closure), null)
  23. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  24. at Middleware->think\{closure}(object(Request))
  25. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  26. at Middleware->dispatch(object(Request)) in App.php line 478
  27. at App->run() in index.php line 30

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
FCGI_ROLE RESPONDER
SCRIPT_FILENAME /www/wwwroot/lsd/public/index.php
QUERY_STRING s=/portal/article/index/id/50/cid/25.html
REQUEST_METHOD GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME /index.php
REQUEST_URI /portal/article/index/id/50/cid/25.html
DOCUMENT_URI /index.php
DOCUMENT_ROOT /www/wwwroot/lsd/public
SERVER_PROTOCOL HTTP/1.1
REQUEST_SCHEME http
GATEWAY_INTERFACE CGI/1.1
SERVER_SOFTWARE nginx/1.14.2
REMOTE_ADDR 154.220.91.234
REMOTE_PORT 61418
SERVER_ADDR 192.168.1.66
SERVER_PORT 80
SERVER_NAME www.juhua533228.cn
REDIRECT_STATUS 200
PATH_INFO
HTTP_HOST www.juhua533228.cn
HTTP_USER_AGENT Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
HTTP_ACCEPT */*
HTTP_ACCEPT_ENCODING gzip,deflate
HTTP_REFERER http://www.juhua533228.cn/portal/article/index/id/50/cid/25.html
HTTP_CLIENT_IP 60.255.170.235
HTTP_X_FORWARDED_FOR 66.82.244.73
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1565196867.9921
REQUEST_TIME 1565196867
Environment Variablesempty
ThinkPHP Constants
APP_DEBUG true
CMF_ROOT /www/wwwroot/lsd/
APP_PATH /www/wwwroot/lsd/app/
WEB_ROOT /www/wwwroot/lsd/public/
HTMLPURIFIER_PREFIX /www/wwwroot/lsd/vendor/ezyang/htmlpurifier/library
0.130500s
http://m.juhua533228.cn|http://wap.juhua533228.cn|http://www.juhua533228.cn||http://juhua533228.cn