2138cn太阳集团(正版已上线) - 欢迎您

[0] HttpException in Module.php line 126

方法不存在:app\home\controller\Article->你传的第一个参数中没有id属性()

  1. : $this->request->param();
  2. $vars = array_merge($vars, $this->param);
  3. } elseif (is_callable([$instance, '_empty'])) {
  4. // 空操作
  5. $call = [$instance, '_empty'];
  6. $vars = [$this->actionName];
  7. $reflect = new ReflectionMethod($instance, '_empty');
  8. } else {
  9. // 操作不存在
  10. throw new HttpException(404, 'method not exists:' . get_class($instance) . '->' . $action . '()');
  11. }
  12. $this->app['hook']->listen('action_begin', $call);
  13. $data = $this->app->invokeReflectMethod($instance, $reflect, $vars);
  14. return $this->autoResponse($data);
  15. });

Call Stack

  1. in Module.php line 126
  2. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  3. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  4. at Middleware->think\{closure}(object(Request))
  5. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  6. at Middleware->dispatch(object(Request), 'controller') in Module.php line 136
  7. at Module->exec() in Dispatch.php line 168
  8. at Dispatch->run() in App.php line 432
  9. at App->think\{closure}(object(Request), object(Closure), null)
  10. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  11. at Middleware->think\{closure}(object(Request))
  12. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  13. at Middleware->dispatch(object(Request)) in App.php line 435
  14. at App->run() in index.php line 29

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID gbu2gajsimfiokegv1av8bts9b
Session
think { "last_url": "http:\/\/www.yndianbai.com\/\/2021\/06\/02\/%E9%A1%BA%E7%9C%BC%E5%A4%9A%E4%BA%86%EF%BC%9F%E9%A5%AD%E5%88%B6ps5%E9%BB%91%E8%89%B2%E7%89%88%E4%B8%BB%E6%9C%BA%E6%B8%B2%E6%9F%93%E5%9B%BE\/" }
Server/Request Data
USER www
HOME /home/www
HTTP_COOKIE PHPSESSID=gbu2gajsimfiokegv1av8bts9b
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.yndianbai.com
HTTP_USER_AGENT Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME yndianbai.com
SERVER_PORT 80
SERVER_ADDR 103.47.82.200
REMOTE_PORT 52960
REMOTE_ADDR 50.2.188.146
SERVER_SOFTWARE nginx/1.16.1
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/yndianbai.com/public
DOCUMENT_URI /index.php
REQUEST_URI //article/%E4%BD%A0%E4%BC%A0%E7%9A%84%E7%AC%AC%E4%B8%80%E4%B8%AA%E5%8F%82%E6%95%B0%E4%B8%AD%E6%B2%A1%E6%9C%89id%E5%B1%9E%E6%80%A7
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/article/%E4%BD%A0%E4%BC%A0%E7%9A%84%E7%AC%AC%E4%B8%80%E4%B8%AA%E5%8F%82%E6%95%B0%E4%B8%AD%E6%B2%A1%E6%9C%89id%E5%B1%9E%E6%80%A7
SCRIPT_FILENAME /www/wwwroot/yndianbai.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1734672151.3728
REQUEST_TIME 1734672151
Environment Variablesempty
ThinkPHP Constants
DS /
ROOT_PATH /www/wwwroot/yndianbai.com/
APP_PATH /www/wwwroot/yndianbai.com/app/
WWW_ROOT /www/wwwroot/yndianbai.com/public/
WOO_PATH /www/wwwroot/yndianbai.com/woo/
ADDONS_PATH /www/wwwroot/yndianbai.com/addons/
APP_CACHE_DIR /www/wwwroot/yndianbai.com/data/cache/
SMARTY_DIR /www/wwwroot/yndianbai.com/include/smarty-3.1.27/libs/
SMARTY_SYSPLUGINS_DIR /www/wwwroot/yndianbai.com/include/smarty-3.1.27/libs/sysplugins/
SMARTY_PLUGINS_DIR /www/wwwroot/yndianbai.com/include/smarty-3.1.27/libs/plugins/
SMARTY_MBSTRING true
SMARTY_RESOURCE_CHAR_SET UTF-8
SMARTY_RESOURCE_DATE_FORMAT %b %e, %Y
SMARTY_SPL_AUTOLOAD 0