[0] InvalidArgumentException in App.php 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.php line 431
  2. at App::getParamValue(object(ReflectionParameter), ['/wap/_html' => '', 'name' => 'wap'], 0) in App.php line 385
  3. at App::bindParams(object(ReflectionMethod), []) in App.php line 339
  4. at App::invokeMethod([object(Channel), 'action'], []) in App.php line 611
  5. at App::module([null, 'Channel', 'action'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 457
  6. at App::exec(['type' => 'module', 'module' => [null, 'Channel', 'action'], 'convert' => false], ['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/furunsh...') in index.php line 34

Environment Variables

GET Data

/wap/_html
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
REDIRECT_STATUS
200
proxy-nokeepalive
1
HTTP_HOST
www.gxfsa.com
HTTP_REFERER
https://www.baidu.com/search/spider.htm
HTTP_X_APPLE_TZ
0
HTTP_X_APPLE_STORE_FRONT
143444,12
HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING
gzip, deflate
HTTP_ACCEPT_LANGUAGE
en-US,en;q=0.5
HTTP_CACHE_CONTROL
no-cache
CONTENT_TYPE
application/x-www-form-urlencoded; charset=utf-8
HTTP_USER_AGENT
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
HTTP_X_MICROSOFTAJAX
Delta=true
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
LD_LIBRARY_PATH
/www/server/apache/lib
SERVER_SIGNATURE
<address>Apache Server at www.gxfsa.com Port 80</address>
SERVER_SOFTWARE
Apache
SERVER_NAME
www.gxfsa.com
SERVER_ADDR
122.114.65.110
SERVER_PORT
80
REMOTE_ADDR
192.161.56.224
DOCUMENT_ROOT
/www/wwwroot/gxfsa.com/public
REQUEST_SCHEME
http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT
/www/wwwroot/gxfsa.com/public
SERVER_ADMIN
webmaster@example.com
SCRIPT_FILENAME
/www/wwwroot/gxfsa.com/public/index.php
REMOTE_PORT
35142
REDIRECT_URL
/wap/.html
REDIRECT_QUERY_STRING
/wap/.html
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
/wap/.html
REQUEST_URI
/wap/.html
SCRIPT_NAME
/index.php
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1728836559.5281
REQUEST_TIME
1728836559
PATH_INFO
/wap/.html
Environment Variables
empty

ThinkPHP Constants

__PUBLIC__
/public
APP_PATH
/www/wwwroot/gxfsa.com/public/../application/
UPLOAD_PATH
/www/wwwroot/gxfsa.com/public/../public
RUNTIME_PATH
/www/wwwroot/gxfsa.com/public/../runtime/
DATA
/www/wwwroot/gxfsa.com/public/../data/
APP_DEBUG
false
DB_DEBUG
false
THINK_VERSION
5.0.24
THINK_START_TIME
1728836559.5288
THINK_START_MEM
243336
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/gxfsa.com/thinkphp/
LIB_PATH
/www/wwwroot/gxfsa.com/thinkphp/library/
CORE_PATH
/www/wwwroot/gxfsa.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/gxfsa.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/gxfsa.com/
PUBLIC_PATH
/www/wwwroot/gxfsa.com/public/
EXTEND_PATH
/www/wwwroot/gxfsa.com/extend/
VENDOR_PATH
/www/wwwroot/gxfsa.com/vendor/
LOG_PATH
/www/wwwroot/gxfsa.com/public/../runtime/log/
CACHE_PATH
/www/wwwroot/gxfsa.com/public/../runtime/cache/
TEMP_PATH
/www/wwwroot/gxfsa.com/public/../runtime/temp/
CONF_PATH
/www/wwwroot/gxfsa.com/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
QINIU_FUNCTIONS_VERSION
7.1.3
DATA_PATH
../runtime/cache/module/
MAX_MENU_LENGTH
3
MAX_SUB_MENU_LENGTH
5
网站地图