[0] InvalidArgumentException in App.phphtml line 431

方法参数错误: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.phphtml line 431
  2. at App::getParamValue(object(ReflectionParameter), [], 0) in App.phphtml line 385
  3. at App::bindParams(object(ReflectionMethod), []) in App.phphtml line 339
  4. at App::invokeMethod([object(Index), 'show'], []) in App.phphtml line 611
  5. at App::module(['index', 'index', 'show'], ['app_host' => '', 'app_debug' => '1', 'app_trace' => '', ...], true) in App.phphtml line 456
  6. at App::exec(['type' => 'module', 'module' => ['index', 'index', 'show']], ['app_host' => '', 'app_debug' => '1', 'app_trace' => '', ...]) in App.phphtml line 139
  7. at App::run() in start.phphtml line 19
  8. at require('/www/wwwroot/www.tsi...') in index.phphtml line 25

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
PHP_APP_DEBUG
1
PHP_APP_TRACE
PHP_DATABASE_HOSTNAME
localhost
PHP_DATABASE_DATABASE
www_tsinghuaic_c
PHP_DATABASE_USERNAME
www_tsinghuaic_c
PHP_DATABASE_PASSWORD
ns38EibZfFR5CscZ
PHP_DATABASE_HOSTPORT
3306
PHP_DATABASE_PREFIX
pu_
HTTP_USER_AGENT
Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
HTTP_ACCEPT
*/*
HTTP_HOST
www.jiu-ol.com
PATH_INFO
/index/index/show/id/
REDIRECT_STATUS
200
SERVER_NAME
www.jiu-ol.com
SERVER_PORT
80
SERVER_ADDR
172.16.47.191
REMOTE_PORT
48671
REMOTE_ADDR
104.149.159.120
SERVER_SOFTWARE
nginx/1.18.0
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/www.jiu-ol.com/public
DOCUMENT_URI
/index.phphtml
REQUEST_URI
/index/index/show/id/
SCRIPT_NAME
/index.phphtml
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/index/index/show/id/
SCRIPT_FILENAME
/www/wwwroot/www.jiu-ol.com/public/index.phphtml
FCGI_ROLE
RESPONDER
PHP_SELF
/index.phphtml
REQUEST_TIME_FLOAT
1634595514.798
REQUEST_TIME
1634595514
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/www.jiu-ol.com/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1634595514.7984
THINK_START_MEM
404568
EXT
.phphtml
DS
/
THINK_PATH
/www/wwwroot/www.jiu-ol.com/thinkphp/
LIB_PATH
/www/wwwroot/www.jiu-ol.com/thinkphp/library/
CORE_PATH
/www/wwwroot/www.jiu-ol.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www.jiu-ol.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www.jiu-ol.com/
EXTEND_PATH
/www/wwwroot/www.jiu-ol.com/extend/
VENDOR_PATH
/www/wwwroot/www.jiu-ol.com/vendor/
RUNTIME_PATH
/www/wwwroot/www.jiu-ol.com/runtime/
LOG_PATH
/www/wwwroot/www.jiu-ol.com/runtime/log/
CACHE_PATH
/www/wwwroot/www.jiu-ol.com/runtime/cache/
TEMP_PATH
/www/wwwroot/www.jiu-ol.com/runtime/temp/
CONF_PATH
/www/wwwroot/www.jiu-ol.com/public/../application/
CONF_EXT
.phphtml
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ADDON_PATH
/www/wwwroot/www.jiu-ol.com/addons/
letou乐投体育精英版下载龙8国际手机dt客户端龙8国际手机dt客户端