[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), ['/article_html' => '', 'name' => 'article'], 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

/article_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/5.0 (Windows; U; Windows NT 5.2) Gecko/2008070208 Firefox/3.0.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
45282
REDIRECT_URL
/article.html
REDIRECT_QUERY_STRING
/article.html
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
/article.html
REQUEST_URI
/article.html
SCRIPT_NAME
/index.php
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1728635316.2343
REQUEST_TIME
1728635316
PATH_INFO
/article.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
1728635316.2349
THINK_START_MEM
243384
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
网站地图