• [0] InvalidArgumentException in Container.php line 499

    方法参数错误:name

    1. } elseif (1 == $type && !empty($vars)) {
    2. $args[] = array_shift($vars);
    3. } elseif (0 == $type && isset($vars[$name])) {
    4. $args[] = $vars[$name];
    5. } elseif (0 == $type && isset($vars[$lowerName])) {
    6. $args[] = $vars[$lowerName];
    7. } elseif ($param->isDefaultValueAvailable()) {
    8. $args[] = $param->getDefaultValue();
    9. } else {
    10. throw new InvalidArgumentException('method param miss:' . $name);
    11. }
    12. }
    13. return $args;
    14. }
    15. /**
    16. * 解析参数
    17. * @access protected
    18. * @param array $params 参数列表

    Call Stack

    1. in Container.php line 499
    2. at Container->parseParams([object(ReflectionParameter)], [], 0) in Container.php line 467
    3. at Container->bindParams(object(ReflectionMethod), []) in Container.php line 393
    4. at Container->invokeReflectMethod(object(Error), object(ReflectionMethod), []) in Module.php line 131
    5. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
    6. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
    7. at Middleware->think\{closure}(object(Request))
    8. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
    9. at Middleware->dispatch(object(Request), 'controller') in Module.php line 136
    10. at Module->exec() in Dispatch.php line 168
    11. at Dispatch->run() in App.php line 432
    12. at App->think\{closure}(object(Request), object(Closure), null)
    13. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
    14. at Middleware->think\{closure}(object(Request))
    15. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
    16. at Middleware->dispatch(object(Request)) in App.php line 435
    17. at App->run() in index.php line 32

    Environment Variables

    GET Dataempty
    POST Dataempty
    Filesempty
    Cookiesempty
    Sessionempty
    Server/Request Data
    USER nobody
    HOME /
    HTTP_X_MICROSOFTAJAX Delta=true
    HTTP_USER_AGENT Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36
    HTTP_CONTENT_TYPE application/x-www-form-urlencoded; charset=utf-8
    HTTP_CACHE_CONTROL no-cache
    HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
    HTTP_ACCEPT_ENCODING gzip, deflate
    HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    HTTP_X_APPLE_STORE_FRONT 143444,12
    HTTP_X_APPLE_TZ 0
    HTTP_REFERER https://www.baidu.com/search/spider.htm
    HTTP_HOST www.hnbgsrc.com
    REDIRECT_STATUS 200
    SERVER_NAME www.hnbgsrc.com
    SERVER_PORT 443
    SERVER_ADDR 10.19.42.43
    REMOTE_PORT 58002
    REMOTE_ADDR 154.220.64.2
    SERVER_SOFTWARE nginx/1.18.0
    GATEWAY_INTERFACE CGI/1.1
    HTTPS on
    REQUEST_SCHEME https
    SERVER_PROTOCOL HTTP/1.1
    DOCUMENT_ROOT /data/user/htdocs
    DOCUMENT_URI /index.php
    REQUEST_URI //guanting.aspx
    SCRIPT_NAME /index.php
    CONTENT_LENGTH
    CONTENT_TYPE application/x-www-form-urlencoded; charset=utf-8
    REQUEST_METHOD GET
    QUERY_STRING s=/guanting.aspx
    PATH_INFO
    SCRIPT_FILENAME /data/user/htdocs/index.php
    FCGI_ROLE RESPONDER
    PHP_SELF /index.php
    REQUEST_TIME_FLOAT 1773500354.709
    REQUEST_TIME 1773500354
    Environment Variablesempty
    ThinkPHP Constantsempty
    站点地图