[0] InvalidArgumentException in Model.php line 626

property not exists:addons\cms\model\Tag->name_en

  1. } elseif ($notFound) {
  2. $relation = Loader::parseName($name, 1, false);
  3. if (method_exists($this, $relation)) {
  4. $modelRelation = $this->$relation();
  5. // 不存在该字段 获取关联数据
  6. $value = $this->getRelationData($modelRelation);
  7. // 保存关联对象值
  8. $this->relation[$name] = $value;
  9. } else {
  10. throw new InvalidArgumentException('property not exists:' . $this->class . '->' . $name);
  11. }
  12. }
  13. return $value;
  14. }
  15. /**
  16. * 获取关联模型数据
  17. * @access public
  18. * @param Relation $modelRelation 模型关联对象

Call Stack

  1. in Model.php line 626
  2. at Model->getAttr('name_en') in Model.php line 2294
  3. at Model->offsetGet('name_en') in Channel.php line 379
  4. at Channel::getBreadcrumb([], [], object(Tag), [], [], []) in 013d9554ae692a00dcf1dfc28ecd7e9b.php line 445
  5. at include('/www/wwwroot/estrong...') in File.php line 53
  6. at File->read('/www/wwwroot/estrong...', ['lang' => 'en', 'config' => ['system_user_id' => '0', 'sitename' => '葡的京集团350vip8888', 'sitelogo' => '/uploads/20220803/8e...', ...], 'user' => null, ...]) in Template.php line 188
  7. at Template->fetch('/www/wwwroot/estrong...', ['lang' => 'en', 'config' => ['system_user_id' => '0', 'sitename' => '葡的京集团350vip8888', 'sitelogo' => '/uploads/20220803/8e...', ...], 'user' => null, ...], []) in Think.php line 86
  8. at Think->fetch('/www/wwwroot/estrong...', ['lang' => 'en', 'config' => ['system_user_id' => '0', 'sitename' => '葡的京集团350vip8888', 'sitelogo' => '/uploads/20220803/8e...', ...], 'user' => null, ...], []) in View.php line 163
  9. at View->fetch('/tag') in Tag.php line 114
  10. at Tag->index()
  11. at call_user_func_array([object(Tag), 'index'], []) in Route.php line 78
  12. at Route->execute('cms', 'tag', 'index')
  13. at ReflectionMethod->invokeArgs(object(Route), ['cms', 'tag', 'index']) in App.php line 343
  14. at App::invokeMethod(['\think\addons\Route', 'execute'], ['diyname' => '2020-06-23', 'addon' => 'cms', 'controller' => 'tag', ...]) in App.php line 470
  15. at App::exec(['type' => 'method', 'method' => ['\think\addons\Route', 'execute'], 'var' => ['addon' => 'cms', 'controller' => 'tag', 'action' => 'index']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  16. at App::run() in start.php line 19
  17. at require('/www/wwwroot/estrong...') in index.php line 23

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

think_var
en
PHPSESSID
32f1m785fb00dpjn8dqaaj8er3

Session

think
{ "__searchtoken__": "de52bca7da4e775983d25170e9bf4a2f" }

Server/Request Data

USER
www
HOME
/home/www
HTTP_COOKIE
think_var=en; PHPSESSID=32f1m785fb00dpjn8dqaaj8er3
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.estrongchem.com
HTTP_USER_AGENT
CCBot/2.0 (https://commoncrawl.org/faq/)
PATH_INFO
/t/2020-06-23.html
REDIRECT_STATUS
200
SERVER_NAME
estrongchem.com
SERVER_PORT
443
SERVER_ADDR
10.61.196.132
REMOTE_PORT
48486
REMOTE_ADDR
45.38.45.2
SERVER_SOFTWARE
nginx/1.17.6
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/estrongchem.com/public
DOCUMENT_URI
/index.php
REQUEST_URI
/t/2020-06-23.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/t/2020-06-23.html
SCRIPT_FILENAME
/www/wwwroot/estrongchem.com/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1716883220.7511
REQUEST_TIME
1716883220
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/estrongchem.com/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1716883220.7519
THINK_START_MEM
409912
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/estrongchem.com/thinkphp/
LIB_PATH
/www/wwwroot/estrongchem.com/thinkphp/library/
CORE_PATH
/www/wwwroot/estrongchem.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/estrongchem.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/estrongchem.com/
EXTEND_PATH
/www/wwwroot/estrongchem.com/extend/
VENDOR_PATH
/www/wwwroot/estrongchem.com/vendor/
RUNTIME_PATH
/www/wwwroot/estrongchem.com/runtime/
LOG_PATH
/www/wwwroot/estrongchem.com/runtime/log/
CACHE_PATH
/www/wwwroot/estrongchem.com/runtime/cache/
TEMP_PATH
/www/wwwroot/estrongchem.com/runtime/temp/
CONF_PATH
/www/wwwroot/estrongchem.com/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/www/wwwroot/estrongchem.com/addons/