[0] InvalidArgumentException in App.php line 294

方法参数错误:cid

  1. $args[] = method_exists($className, 'instance') ? $className::instance() : new $className();
  2. }
  3. } elseif (1 == $type && !empty($vars)) {
  4. $args[] = array_shift($vars);
  5. } elseif (0 == $type && isset($vars[$name])) {
  6. $args[] = $vars[$name];
  7. } elseif ($param->isDefaultValueAvailable()) {
  8. $args[] = $param->getDefaultValue();
  9. } else {
  10. throw new \InvalidArgumentException('method param miss:' . $name);
  11. }
  12. }
  13. // 全局过滤
  14. array_walk_recursive($args, [Request::instance(), 'filterExp']);
  15. }
  16. return $args;
  17. }
  18. /**

Call Stack

  1. in App.php line 294
  2. at App::bindParams(object(ReflectionMethod), []) in App.php line 226
  3. at App::invokeMethod([object(Listing), 'index']) in App.php line 383
  4. at App::module(['index', 'listing', 'index'], ['app_namespace' => 'app', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 137
  5. at App::run() in start.php line 18
  6. at require('/alidata/yimai/think...') in index.php line 19

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER
apache
HOME
/usr/share/httpd
HTTP_ACCEPT_ENCODING
deflate, gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.emedwt.com
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
REDIRECT_STATUS
200
SERVER_NAME
www.emedwt.com
SERVER_PORT
80
SERVER_ADDR
172.17.163.47
REMOTE_PORT
20001
REMOTE_ADDR
154.81.121.18
SERVER_SOFTWARE
nginx/1.14.0
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/alidata/yimai
DOCUMENT_URI
/index.php
REQUEST_URI
/index/listing/index/cid/
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=//index/listing/index/cid/
SCRIPT_FILENAME
/alidata/yimai/index.php
PATH_TRANSLATED
/alidata/yimai
PATH_INFO
//index/listing/index/cid/
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1573520269.1067
REQUEST_TIME
1573520269
Environment Variablesempty
ThinkPHP Constants
APP_PATH
/alidata/yimai/application/
UPLOADSIMG
/alidata/yimai/public
EXTEND_PATH
/alidata/yimai/extend/
THINK_VERSION
5.0.1
THINK_START_TIME
1573520269.107
THINK_START_MEM
375168
EXT
.php
DS
/
THINK_PATH
/alidata/yimai/thinkphp/
LIB_PATH
/alidata/yimai/thinkphp/library/
CORE_PATH
/alidata/yimai/thinkphp/library/think/
TRAIT_PATH
/alidata/yimai/thinkphp/library/traits/
ROOT_PATH
/alidata/yimai/
VENDOR_PATH
/alidata/yimai/vendor/
RUNTIME_PATH
/alidata/yimai/runtime/
LOG_PATH
/alidata/yimai/runtime/log/
CACHE_PATH
/alidata/yimai/runtime/cache/
TEMP_PATH
/alidata/yimai/runtime/temp/
CONF_PATH
/alidata/yimai/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
__ROOT__