[0] InvalidArgumentException in Model.php line 626

类的属性不存在:app\index\model\Product->pp

  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('pp') in Model.php line 2294
  3. at Model->offsetGet('pp') in f1f54982bae501bd23b11f8b8c464429.php line 272
  4. at include('E:\virtualhost\07www...') in File.php line 53
  5. at File->read('E:\virtualhost\07www...', ['footer_brands' => [object(Brand), object(Brand), object(Brand), ...], 'footer_types' => [object(Type), object(Type), object(Type), ...], 'content_1' => [object(Product), object(Product), object(Product), ...], ...]) in Template.php line 188
  6. at Template->fetch('E:\virtualhost\07www...', ['footer_brands' => [object(Brand), object(Brand), object(Brand), ...], 'footer_types' => [object(Type), object(Type), object(Type), ...], 'content_1' => [object(Product), object(Product), object(Product), ...], ...], []) in Think.php line 86
  7. at Think->fetch('productList', ['footer_brands' => [object(Brand), object(Brand), object(Brand), ...], 'footer_types' => [object(Type), object(Type), object(Type), ...], 'content_1' => [object(Product), object(Product), object(Product), ...], ...], []) in View.php line 163
  8. at View->fetch('productList', [], [], []) in Controller.php line 120
  9. at Controller->fetch('productList') in Index.php line 235
  10. at Index->productList()
  11. at ReflectionMethod->invokeArgs(object(Index), []) in App.php line 343
  12. at App::invokeMethod([object(Index), 'productlist'], []) in App.php line 611
  13. at App::module(['index', 'index', 'productList'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 457
  14. at App::exec(['type' => 'module', 'module' => ['index', 'index', 'productList']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  15. at App::run() in start.php line 19
  16. at require('E:\virtualhost\07www...') in index.php line 29

Environment Variables

GET Data

pp
KOYO
page
2
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

_FCGI_X_PIPE_
\\.\pipe\IISFCGI-0f8f9f9b-cfe5-4cd1-845e-68b1efd0e2ee
ALLUSERSPROFILE
C:\ProgramData
APPDATA
C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG
C:\inetpub\temp\apppools\07wwwxlsbearingcom\07wwwxlsbearingcom.config
APP_POOL_ID
07wwwxlsbearingcom
CommonProgramFiles
C:\Program Files (x86)\Common Files
CommonProgramFiles(x86)
C:\Program Files (x86)\Common Files
CommonProgramW6432
C:\Program Files\Common Files
COMPUTERNAME
iZclj7bgy0weg1Z
ComSpec
C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK
NO
LOCALAPPDATA
C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS
1
OS
Windows_NT
Path
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft\Web Platform Installer\;
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
PUBLIC
C:\Users\Public
SystemDrive
C:
SystemRoot
C:\Windows
TEMP
C:\Windows\TEMP
TMP
C:\Windows\TEMP
USERDOMAIN
WORKGROUP
USERNAME
iZclj7bgy0weg1Z$
USERPROFILE
C:\Windows\system32\config\systemprofile
windir
C:\Windows
ORIG_PATH_INFO
/index.php/index/index/productList
URL
/index.php
SERVER_SOFTWARE
Microsoft-IIS/8.5
SERVER_PROTOCOL
HTTP/1.1
SERVER_PORT_SECURE
0
SERVER_PORT
80
SERVER_NAME
www.xls-bearing.com
SCRIPT_NAME
/index.php
SCRIPT_FILENAME
E:\virtualhost\07wwwxlsbearingcom\public\index.php
REQUEST_URI
/BearingList.asp?pp=KOYO&page=2
REQUEST_METHOD
GET
REMOTE_USER
REMOTE_PORT
42792
REMOTE_HOST
54.160.133.33
REMOTE_ADDR
54.160.133.33
QUERY_STRING
pp=KOYO&page=2
PATH_TRANSLATED
E:\virtualhost\07wwwxlsbearingcom\public\index.php\index\index\productList
PATH_INFO
/index/index/productList
LOGON_USER
LOCAL_ADDR
118.190.136.153
INSTANCE_META_PATH
/LM/W3SVC/7
INSTANCE_NAME
07WWWXLSBEARINGCOM
INSTANCE_ID
7
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS
off
GATEWAY_INTERFACE
CGI/1.1
DOCUMENT_ROOT
E:\virtualhost\07wwwxlsbearingcom\public
CONTENT_TYPE
CONTENT_LENGTH
0
CERT_SUBJECT
CERT_SERIALNUMBER
CERT_ISSUER
CERT_FLAGS
CERT_COOKIE
AUTH_USER
AUTH_PASSWORD
AUTH_TYPE
APPL_PHYSICAL_PATH
E:\virtualhost\07wwwxlsbearingcom\public\
APPL_MD_PATH
/LM/W3SVC/7/ROOT
IIS_UrlRewriteModule
7,1,1993,2336
WEBSOCKET_VERSION
13
UNENCODED_URL
/BearingList.asp?pp=KOYO&page=2
IIS_WasUrlRewritten
1
HTTP_X_ORIGINAL_URL
/BearingList.asp?pp=KOYO&page=2
HTTP_USER_AGENT
claudebot
HTTP_HOST
www.xls-bearing.com
HTTP_ACCEPT
*/*
HTTP_CONTENT_LENGTH
0
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/index/index/productList
REQUEST_TIME_FLOAT
1711648432.3089
REQUEST_TIME
1711648432
Environment Variables
empty

ThinkPHP Constants

SITE_URL
http://www.xls-bearing.com
APP_PATH
E:\virtualhost\07wwwxlsbearingcom\public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1711648432.3099
THINK_START_MEM
153864
EXT
.php
DS
\
THINK_PATH
E:\virtualhost\07wwwxlsbearingcom\thinkphp\
LIB_PATH
E:\virtualhost\07wwwxlsbearingcom\thinkphp\library\
CORE_PATH
E:\virtualhost\07wwwxlsbearingcom\thinkphp\library\think\
TRAIT_PATH
E:\virtualhost\07wwwxlsbearingcom\thinkphp\library\traits\
ROOT_PATH
E:\virtualhost\07wwwxlsbearingcom\
EXTEND_PATH
E:\virtualhost\07wwwxlsbearingcom\extend\
VENDOR_PATH
E:\virtualhost\07wwwxlsbearingcom\vendor\
RUNTIME_PATH
E:\virtualhost\07wwwxlsbearingcom\runtime\
LOG_PATH
E:\virtualhost\07wwwxlsbearingcom\runtime\log\
CACHE_PATH
E:\virtualhost\07wwwxlsbearingcom\runtime\cache\
TEMP_PATH
E:\virtualhost\07wwwxlsbearingcom\runtime\temp\
CONF_PATH
E:\virtualhost\07wwwxlsbearingcom\public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true