[0] InvalidArgumentException in Model.php line 626

类的属性不存在:app\admin\model\mps\Comment->passtime

  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('passtime') in Model.php line 2294
  3. at Model->offsetGet('passtime') in 91743804fd6b0a7c79986c9f4c435e06.php line 187
  4. at include('/www/wwwroot/sxtaiyu...') in File.php line 53
  5. at File->read('/www/wwwroot/sxtaiyu...', ['user' => null, 'site' => ['name' => '太原生活网', 'beian' => '', 'cdnurl' => '', ...], 'config' => ['site' => ['name' => '太原生活网', 'cdnurl' => '', 'version' => 1711664464, ...], 'upload' => ['cdnurl' => '', 'uploadurl' => 'ajax/upload', 'bucket' => 'local', ...], 'modulename' => 'mps', ...], ...]) in Template.php line 188
  6. at Template->fetch('/www/wwwroot/sxtaiyu...', ['user' => null, 'site' => ['name' => '太原生活网', 'beian' => '', 'cdnurl' => '', ...], 'config' => ['site' => ['name' => '太原生活网', 'cdnurl' => '', 'version' => 1711664464, ...], 'upload' => ['cdnurl' => '', 'uploadurl' => 'ajax/upload', 'bucket' => 'local', ...], 'modulename' => 'mps', ...], ...], []) in Think.php line 86
  7. at Think->fetch('/www/wwwroot/sxtaiyu...', ['user' => null, 'site' => ['name' => '太原生活网', 'beian' => '', 'cdnurl' => '', ...], 'config' => ['site' => ['name' => '太原生活网', 'cdnurl' => '', 'version' => 1711664464, ...], 'upload' => ['cdnurl' => '', 'uploadurl' => 'ajax/upload', 'bucket' => 'local', ...], 'modulename' => 'mps', ...], ...], []) in View.php line 163
  8. at View->fetch('') in Info.php line 71
  9. at Info->view('18695')
  10. at ReflectionMethod->invokeArgs(object(Info), ['18695']) in App.php line 343
  11. at App::invokeMethod([object(Info), 'view'], []) in App.php line 611
  12. at App::module(['mps', 'info', 'view'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 456
  13. at App::exec(['type' => 'module', 'module' => ['mps', 'info', 'view'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  14. at App::run() in start.php line 19
  15. at require('/www/wwwroot/sxtaiyu...') in index.php line 29

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
HTTP_HOST
www.sxtaiyuan.net
PATH_INFO
/info-18695.html
REDIRECT_STATUS
200
SERVER_NAME
sxtaiyuan.net
SERVER_PORT
443
SERVER_ADDR
172.18.32.195
REMOTE_PORT
49544
REMOTE_ADDR
34.226.141.207
SERVER_SOFTWARE
nginx/1.22.1
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/2.0
DOCUMENT_ROOT
/www/wwwroot/sxtaiyuan.net/public
DOCUMENT_URI
/index.php
REQUEST_URI
/info-18695.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/info-18695.html
SCRIPT_FILENAME
/www/wwwroot/sxtaiyuan.net/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711664464.4335
REQUEST_TIME
1711664464
Environment Variables
empty

ThinkPHP Constants

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