[0] InvalidArgumentException in App.php line 436

方法参数错误:id

  1. new $className;
  2. }
  3. } elseif (1 == $type && !empty($vars)) {
  4. $result = array_shift($vars);
  5. } elseif (0 == $type && isset($vars[$name])) {
  6. $result = $vars[$name];
  7. } elseif ($param->isDefaultValueAvailable()) {
  8. $result = $param->getDefaultValue();
  9. } else {
  10. throw new \InvalidArgumentException('method param miss:' . $name);
  11. }
  12. return $result;
  13. }
  14. /**
  15. * 执行调用分发
  16. * @access protected
  17. * @param array $dispatch 调用信息

Call Stack

  1. in App.php line 436
  2. at App::getParamValue(object(ReflectionParameter), [], 0) in App.php line 390
  3. at App::bindParams(object(ReflectionMethod), []) in App.php line 344
  4. at App::invokeMethod([object(Content), 'show'], []) in App.php line 612
  5. at App::module(['party', 'content', 'show'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 462
  6. at App::exec(['type' => 'module', 'module' => ['party', 'content', 'show']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  7. at App::run() in start.php line 19
  8. at require('D:\wwwroot\pgc\wwwro...') in index.php line 29

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

user_sid
f059575ff7
Session
empty

Server/Request Data

_FCGI_X_PIPE_
\\.\pipe\IISFCGI-8832c769-3d73-48c0-8aab-6988250b6e28
PHPRC
D:\SOFT_PHP_PACKAGE\php5.6
PHP_FCGI_MAX_REQUESTS
10000
ALLUSERSPROFILE
C:\ProgramData
APPDATA
C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG
C:\inetpub\temp\apppools\pgc\pgc.config
APP_POOL_ID
pgc
CommonProgramFiles
C:\Program Files (x86)\Common Files
CommonProgramFiles(x86)
C:\Program Files (x86)\Common Files
CommonProgramW6432
C:\Program Files\Common Files
COMPUTERNAME
EBS-35659
ComSpec
C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK
NO
LOCALAPPDATA
C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS
2
OS
Windows_NT
Path
D:\SOFT_PHP_PACKAGE\php;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;d:\SOFT_PHP_PACKAGE\mysql\bin;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;D:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;D:\Program Files\Microsoft SQL Server\100\Tools\Binn\;D:\Program Files\Microsoft SQL Server\100\DTS\Binn\;D:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;D:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn";
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE
x86
PROCESSOR_ARCHITEW6432
AMD64
PROCESSOR_IDENTIFIER
Intel64 Family 6 Model 45 Stepping 7, GenuineIntel
PROCESSOR_LEVEL
6
PROCESSOR_REVISION
2d07
ProgramData
C:\ProgramData
ProgramFiles
C:\Program Files (x86)
ProgramFiles(x86)
C:\Program Files (x86)
ProgramW6432
C:\Program Files
PSModulePath
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
EBS-35659$
USERPROFILE
C:\Windows\system32\config\systemprofile
windir
C:\Windows
windows_tracing_flags
3
windows_tracing_logfile
C:\BVTBin\Tests\installpackage\csilogfile.log
ORIG_PATH_INFO
/index.php/party/content/show/id/
URL
/index.php
SERVER_SOFTWARE
Microsoft-IIS/7.5
SERVER_PROTOCOL
HTTP/1.0
SERVER_PORT_SECURE
0
SERVER_PORT
80
SERVER_NAME
www.pgxy.net
SCRIPT_NAME
/index.php
SCRIPT_FILENAME
d:\wwwroot\pgc\wwwroot\index.php
REQUEST_URI
/index.php/party/content/show/id/
REQUEST_METHOD
GET
REMOTE_USER
REMOTE_PORT
10665
REMOTE_HOST
127.0.0.1
REMOTE_ADDR
127.0.0.1
QUERY_STRING
PATH_TRANSLATED
d:\wwwroot\pgc\wwwroot\index.php\party\content\show\id\
PATH_INFO
/party/content/show/id/
LOGON_USER
LOCAL_ADDR
127.0.0.1
INSTANCE_META_PATH
/LM/W3SVC/10088
INSTANCE_NAME
PGC
INSTANCE_ID
10088
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS
off
GATEWAY_INTERFACE
CGI/1.1
DOCUMENT_ROOT
d:\wwwroot\pgc\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\pgc\wwwroot\
APPL_MD_PATH
/LM/W3SVC/10088/ROOT
IIS_UrlRewriteModule
7.1.0871.0
HTTP_X_REAL_IP
154.208.244.238
HTTP_X_FORWARDED_FOR
154.208.244.238
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
HTTP_HOST
www.pgxy.net
HTTP_ACCEPT_ENCODING
deflate, gzip
HTTP_ACCEPT
*/*
HTTP_CONNECTION
close
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/party/content/show/id/
REQUEST_TIME_FLOAT
1575693924.0312
REQUEST_TIME
1575693924
Environment Variables
empty

ThinkPHP Constants

APP_PATH
D:\wwwroot\pgc\wwwroot/application/
ENTRANCE
index
THINK_VERSION
5.0.18
THINK_START_TIME
1575693924.0312
THINK_START_MEM
152672
EXT
.php
DS
\
THINK_PATH
D:\wwwroot\pgc\wwwroot\thinkphp\
LIB_PATH
D:\wwwroot\pgc\wwwroot\thinkphp\library\
CORE_PATH
D:\wwwroot\pgc\wwwroot\thinkphp\library\think\
TRAIT_PATH
D:\wwwroot\pgc\wwwroot\thinkphp\library\traits\
ROOT_PATH
D:\wwwroot\pgc\wwwroot\
EXTEND_PATH
D:\wwwroot\pgc\wwwroot\extend\
VENDOR_PATH
D:\wwwroot\pgc\wwwroot\vendor\
RUNTIME_PATH
D:\wwwroot\pgc\wwwroot\runtime\
LOG_PATH
D:\wwwroot\pgc\wwwroot\runtime\log\
CACHE_PATH
D:\wwwroot\pgc\wwwroot\runtime\cache\
TEMP_PATH
D:\wwwroot\pgc\wwwroot\runtime\temp\
CONF_PATH
D:\wwwroot\pgc\wwwroot/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true
HTMLPURIFIER_PREFIX
D:\wwwroot\pgc\wwwroot\vendor\ezyang\htmlpurifier\library
TEMPLATE_PATH
D:\wwwroot\pgc\wwwroot\template/
IS_POST
false
PUBLIC_URL
/public/
PUBLIC_PATH
D:\wwwroot\pgc\wwwroot\public\
UPLOAD_URL
/uploads/
UPLOAD_PATH
D:\wwwroot\pgc\wwwroot\uploads\
STATIC_URL
/static/
STATIC_PATH
D:\wwwroot\pgc\wwwroot\static\
PLUGINS_PATH
D:\wwwroot\pgc\wwwroot\plugins\
CACHE_DIR
D:\wwwroot\pgc\wwwroot\runtime\
QUN
商圈
ADMIN_FILENAME
admin.php
LOAD_INDEXBASE
true