[0] InvalidArgumentException in Model.php line 626

类的属性不存在:addons\cms\model\Archives->web_url

  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('web_url') in Model.php line 2294
  3. at Model->offsetGet('web_url') in 8ee8d725d80c5c59cdb4d74d69cba803.php line 77
  4. at include('D:\wwwroot\hostqimen...') in File.php line 53
  5. at File->read('D:\wwwroot\hostqimen...', ['config' => ['system_user_id' => '1', 'sitename' => '我的CMS网站', 'title' => '', ...], 'user' => null, 'site' => ['name' => '企盟科技', 'beian' => '', 'cdnurl' => '', ...], ...]) in Template.php line 188
  6. at Template->fetch('D:\wwwroot\hostqimen...', ['config' => ['system_user_id' => '1', 'sitename' => '我的CMS网站', 'title' => '', ...], 'user' => null, 'site' => ['name' => '企盟科技', 'beian' => '', 'cdnurl' => '', ...], ...], []) in Think.php line 86
  7. at Think->fetch('D:\wwwroot\hostqimen...', ['config' => ['system_user_id' => '1', 'sitename' => '我的CMS网站', 'title' => '', ...], 'user' => null, 'site' => ['name' => '企盟科技', 'beian' => '', 'cdnurl' => '', ...], ...], []) in View.php line 163
  8. at View->fetch('/show_download') in Archives.php line 65
  9. at Archives->index()
  10. at call_user_func_array([object(Archives), 'index'], []) in Route.php line 76
  11. at Route->execute('cms', 'archives', 'index')
  12. at ReflectionMethod->invokeArgs(object(Route), ['cms', 'archives', 'index']) in App.php line 343
  13. at App::invokeMethod(['\think\addons\Route', 'execute'], ['diyname' => '42', 'addon' => 'cms', 'controller' => 'archives', ...]) in App.php line 470
  14. at App::exec(['type' => 'method', 'method' => ['\think\addons\Route', 'execute'], 'var' => ['addon' => 'cms', 'controller' => 'archives', 'action' => 'index']], ['app_host' => '', 'app_debug' => 1, 'app_trace' => false, ...]) in App.php line 139
  15. at App::run() in start.php line 19
  16. at require('D:\wwwroot\hostqimen...') in index.php line 24

Environment Variables

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

Server/Request Data

_FCGI_X_PIPE_
\\.\pipe\IISFCGI-40b062e3-5c89-4467-a3bd-a3516d3fa3be
PHP_FCGI_MAX_REQUESTS
1000
PHPRC
C:\php_72
ALLUSERSPROFILE
C:\ProgramData
APPDATA
C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG
C:\inetpub\temp\apppools\hostqimeng\hostqimeng.config
APP_POOL_ID
hostqimeng
CommonProgramFiles
C:\Program Files (x86)\Common Files
CommonProgramFiles(x86)
C:\Program Files (x86)\Common Files
CommonProgramW6432
C:\Program Files\Common Files
COMPUTERNAME
EBS-23287
ComSpec
C:\Windows\system32\cmd.exe
DriverData
C:\Windows\System32\Drivers\DriverData
LOCALAPPDATA
C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS
8
OS
Windows_NT
Path
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\php_52;D:\mysql\bin;c:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn\;C:\Program Files\dotnet\;C:\Program Files (x86)\dotnet\;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE
x86
PROCESSOR_ARCHITEW6432
AMD64
PROCESSOR_IDENTIFIER
Intel64 Family 6 Model 79 Stepping 1, GenuineIntel
PROCESSOR_LEVEL
6
PROCESSOR_REVISION
4f01
ProgramData
C:\ProgramData
ProgramFiles
C:\Program Files (x86)
ProgramFiles(x86)
C:\Program Files (x86)
ProgramW6432
C:\Program Files
PSModulePath
C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\PowerShell\Modules\
PUBLIC
C:\Users\Public
SystemDrive
C:
SystemRoot
C:\Windows
TEMP
C:\Windows\TEMP
TMP
C:\Windows\TEMP
USERDOMAIN
WORKGROUP
USERNAME
EBS-23287$
USERPROFILE
C:\Windows\system32\config\systemprofile
windir
C:\Windows
ORIG_PATH_INFO
/index.php/detail/42.html
URL
/index.php
SERVER_SOFTWARE
Microsoft-IIS/10.0
SERVER_PROTOCOL
HTTP/1.1
SERVER_PORT_SECURE
0
SERVER_PORT
80
SERVER_NAME
zh-qm.cn
SCRIPT_NAME
/index.php
SCRIPT_FILENAME
D:\wwwroot\hostqimeng\wwwroot\index.php
REQUEST_URI
/detail/42.html
REQUEST_METHOD
GET
REMOTE_USER
REMOTE_PORT
60735
REMOTE_HOST
127.0.0.1
REMOTE_ADDR
127.0.0.1
QUERY_STRING
PATH_TRANSLATED
D:\wwwroot\hostqimeng\wwwroot\index.php\detail\42.html
PATH_INFO
/detail/42.html
LOGON_USER
LOCAL_ADDR
127.0.0.1
INSTANCE_META_PATH
/LM/W3SVC/10216
INSTANCE_NAME
HOSTQIMENG
INSTANCE_ID
10216
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS
off
GATEWAY_INTERFACE
CGI/1.1
DOCUMENT_ROOT
D:\wwwroot\hostqimeng\wwwroot
CONTENT_TYPE
CONTENT_LENGTH
0
CERT_SUBJECT
CERT_SERIALNUMBER
CERT_ISSUER
CERT_FLAGS
CERT_COOKIE
AUTH_USER
AUTH_PASSWORD
AUTH_TYPE
APPL_PHYSICAL_PATH
D:\wwwroot\hostqimeng\wwwroot\
APPL_MD_PATH
/LM/W3SVC/10216/ROOT
IIS_UrlRewriteModule
7,1,1993,2336
WEBSOCKET_VERSION
13
UNENCODED_URL
/detail/42.html
IIS_WasUrlRewritten
1
HTTP_X_ORIGINAL_URL
/detail/42.html
HTTP_X_REAL_IP
3.235.199.19
HTTP_X_FORWARDED_FOR
3.235.199.19
HTTP_USER_AGENT
claudebot
HTTP_HOST
zh-qm.cn
HTTP_ACCEPT
*/*
HTTP_CONTENT_LENGTH
0
HTTP_CONNECTION
close
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/detail/42.html
REQUEST_TIME_FLOAT
1710831151.3074
REQUEST_TIME
1710831151
Environment Variables
empty

ThinkPHP Constants

APP_PATH
D:\wwwroot\hostqimeng\wwwroot/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1710831151.3095
THINK_START_MEM
388944
EXT
.php
DS
\
THINK_PATH
D:\wwwroot\hostqimeng\thinkphp\
LIB_PATH
D:\wwwroot\hostqimeng\thinkphp\library\
CORE_PATH
D:\wwwroot\hostqimeng\thinkphp\library\think\
TRAIT_PATH
D:\wwwroot\hostqimeng\thinkphp\library\traits\
ROOT_PATH
D:\wwwroot\hostqimeng\
EXTEND_PATH
D:\wwwroot\hostqimeng\extend\
VENDOR_PATH
D:\wwwroot\hostqimeng\vendor\
RUNTIME_PATH
D:\wwwroot\hostqimeng\runtime\
LOG_PATH
D:\wwwroot\hostqimeng\runtime\log\
CACHE_PATH
D:\wwwroot\hostqimeng\runtime\cache\
TEMP_PATH
D:\wwwroot\hostqimeng\runtime\temp\
CONF_PATH
D:\wwwroot\hostqimeng\wwwroot/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true
ADDON_PATH
D:\wwwroot\hostqimeng\addons\