[0] InvalidArgumentException in App.php line 431

方法参数错误:active

  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 431
  2. at App::getParamValue(object(ReflectionParameter), ['type' => '2'], 0) in App.php line 385
  3. at App::bindParams(object(ReflectionMethod), []) in App.php line 339
  4. at App::invokeMethod([object(Index), 'wealth'], []) in App.php line 606
  5. at App::module(['home', 'index', 'wealth'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 457
  6. at App::exec(['type' => 'module', 'module' => ['home', 'index', 'wealth']], ['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('/www/wwwroot/qx.qing...') in index.php line 12

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/www/wwwroot/qx.qingxiyun.cn/web/index.php
QUERY_STRING
s=/home/index/wealth/type/2.html
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/?s=/home/index/wealth/type/2.html
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/www/wwwroot/qx.qingxiyun.cn/web
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.16.1
REMOTE_ADDR
209.58.134.4
REMOTE_PORT
49216
SERVER_ADDR
172.31.50.188
SERVER_PORT
80
SERVER_NAME
qingxiyun.cn
REDIRECT_STATUS
200
PATH_INFO
/home/index/wealth/type/2.html
HTTP_HOST
fk578.com
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
gzip,deflate
HTTP_REFERER
http://fk578.com/?s=/home/index/wealth/type/2.html
HTTP_CLIENT_IP
63.142.241.65
HTTP_X_FORWARDED_FOR
218.221.163.134
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1575852668.5569
REQUEST_TIME
1575852668
Environment Variables
empty

ThinkPHP Constants

WEB_PATH
/www/wwwroot/qx.qingxiyun.cn/web/
APP_PATH
/www/wwwroot/qx.qingxiyun.cn/web/../source/application/
THINK_VERSION
5.0.20
THINK_START_TIME
1575852668.5575
THINK_START_MEM
261912
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/qx.qingxiyun.cn/source/thinkphp/
LIB_PATH
/www/wwwroot/qx.qingxiyun.cn/source/thinkphp/library/
CORE_PATH
/www/wwwroot/qx.qingxiyun.cn/source/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/qx.qingxiyun.cn/source/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/qx.qingxiyun.cn/source/
EXTEND_PATH
/www/wwwroot/qx.qingxiyun.cn/source/extend/
VENDOR_PATH
/www/wwwroot/qx.qingxiyun.cn/source/vendor/
RUNTIME_PATH
/www/wwwroot/qx.qingxiyun.cn/source/runtime/
LOG_PATH
/www/wwwroot/qx.qingxiyun.cn/source/runtime/log/
CACHE_PATH
/www/wwwroot/qx.qingxiyun.cn/source/runtime/cache/
TEMP_PATH
/www/wwwroot/qx.qingxiyun.cn/source/runtime/temp/
CONF_PATH
/www/wwwroot/qx.qingxiyun.cn/web/../source/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
QINIU_FUNCTIONS_VERSION
7.2.5