[0] HttpException in App.php line 391

方法不存在:app\index\controller\We->index

  1. $data = self::invokeMethod($call);
  2. } catch (\ReflectionException $e) {
  3. // 操作不存在
  4. if (method_exists($instance, '_empty')) {
  5. $reflect = new \ReflectionMethod($instance, '_empty');
  6. $data = $reflect->invokeArgs($instance, [$action]);
  7. self::$debug && Log::record('[ RUN ] ' . $reflect->__toString(), 'info');
  8. } else {
  9. throw new HttpException(404, 'method not exists:' . (new \ReflectionClass($instance))->getName() . '->' . $action);
  10. }
  11. }
  12. return $data;
  13. }
  14. /**
  15. * 初始化应用
  16. */
  17. public static function initCommon()

Call Stack

  1. in App.php line 391
  2. at App::module(['index', 'we', null], ['app_namespace' => 'app', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 137
  3. at App::run() in start.php line 18
  4. at require('/mydata/www/web/shen...') in index.php line 3

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/mydata/www/web/shenyuanshiye/public_html/index.php
QUERY_STRING
s=/index/we/
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/index/we/
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/mydata/www/web/shenyuanshiye/public_html
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.15.10
REMOTE_ADDR
154.213.188.216
REMOTE_PORT
20003
SERVER_ADDR
10.104.160.118
SERVER_PORT
80
SERVER_NAME
www.shenyuanshiye.com
REDIRECT_STATUS
200
PATH_INFO
/index/we/
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
HTTP_HOST
www.shenyuanshiye.com
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
deflate, gzip
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1566273127.5004
REQUEST_TIME
1566273127
Environment Variablesempty
ThinkPHP Constants
APP_PATH
./application/
THINK_VERSION
5.0.1
THINK_START_TIME
1566273127.5009
THINK_START_MEM
259976
EXT
.php
DS
/
THINK_PATH
/mydata/www/web/shenyuanshiye/public_html/thinkphp/
LIB_PATH
/mydata/www/web/shenyuanshiye/public_html/thinkphp/library/
CORE_PATH
/mydata/www/web/shenyuanshiye/public_html/thinkphp/library/think/
TRAIT_PATH
/mydata/www/web/shenyuanshiye/public_html/thinkphp/library/traits/
ROOT_PATH
./
EXTEND_PATH
./extend/
VENDOR_PATH
./vendor/
RUNTIME_PATH
./runtime/
LOG_PATH
./runtime/log/
CACHE_PATH
./runtime/cache/
TEMP_PATH
./runtime/temp/
CONF_PATH
./application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false