新澳门葡京登陆_首页

[0] Exception in Query.php line 103

method not exist:think\db\Query->get

  1. return $this->where($where)->value($args[1]);
  2. } elseif ($this->model && method_exists($this->model, 'scope' . $method)) {
  3. // 动态调用命名范围
  4. $method = 'scope' . $method;
  5. array_unshift($args, $this);
  6. call_user_func_array([$this->model, $method], $args);
  7. return $this;
  8. } else {
  9. throw new Exception('method not exist:' . __CLASS__ . '->' . $method);
  10. }
  11. }
  12. /**
  13. * 获取当前的数据库Connection对象
  14. * @access public
  15. * @return Connection
  16. */
  17. public function getConnection()

Call Stack

  1. in Query.php line 103
  2. at Query->__call('get', [['id' => '1541']]) in News.php line 44
  3. at Query->get(['id' => '1541']) in News.php line 44
  4. at News->index()
  5. at ReflectionMethod->invokeArgs(object(News), []) in App.php line 343
  6. at App::invokeMethod([object(News), 'index'], []) in App.php line 611
  7. at App::module([null, 'news', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...], false) in App.php line 457
  8. at App::exec(['type' => 'module', 'module' => [null, 'news', 'index'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...]) in App.php line 139
  9. at App::run() in start.php line 19
  10. at require('/www/wwwroot/www.bon...') in index.php line 18

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

PHPSESSID
9afpm1s0e602c8bmuilutf9lj6
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
REDIRECT_PATH_INFO
news/1541.html
REDIRECT_HTTPS
on
REDIRECT_SSL_TLS_SNI
www.bonjun.cn
REDIRECT_STATUS
200
HTTPS
on
SSL_TLS_SNI
www.bonjun.cn
proxy-nokeepalive
1
HTTP_USER_AGENT
Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
HTTP_HOST
www.bonjun.cn
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
gzip
HTTP_COOKIE
PHPSESSID=9afpm1s0e602c8bmuilutf9lj6
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
LD_LIBRARY_PATH
/www/server/apache/lib
SERVER_SIGNATURE
Apache Server at www.bonjun.cn Port 443
SERVER_SOFTWARE
Apache
SERVER_NAME
www.bonjun.cn
SERVER_ADDR
172.18.160.99
SERVER_PORT
443
REMOTE_ADDR
104.206.148.106
DOCUMENT_ROOT
/www/wwwroot/www.bonjun.cn/public
REQUEST_SCHEME
https
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT
/www/wwwroot/www.bonjun.cn/public
SERVER_ADMIN
webmaster@example.com
SCRIPT_FILENAME
/www/wwwroot/www.bonjun.cn/public/index.php
REMOTE_PORT
60286
REDIRECT_URL
/news/1541.html
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
REQUEST_URI
/news/1541.html
SCRIPT_NAME
/index.php
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1642239234.0385
REQUEST_TIME
1642239234
PATH_INFO
news/1541.html
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/www.bonjun.cn/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1642239234.039
THINK_START_MEM
266448
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/www.bonjun.cn/thinkphp/
LIB_PATH
/www/wwwroot/www.bonjun.cn/thinkphp/library/
CORE_PATH
/www/wwwroot/www.bonjun.cn/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www.bonjun.cn/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www.bonjun.cn/
EXTEND_PATH
/www/wwwroot/www.bonjun.cn/extend/
VENDOR_PATH
/www/wwwroot/www.bonjun.cn/vendor/
RUNTIME_PATH
/www/wwwroot/www.bonjun.cn/runtime/
LOG_PATH
/www/wwwroot/www.bonjun.cn/runtime/log/
CACHE_PATH
/www/wwwroot/www.bonjun.cn/runtime/cache/
TEMP_PATH
/www/wwwroot/www.bonjun.cn/runtime/temp/
CONF_PATH
/www/wwwroot/www.bonjun.cn/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
0.056156s