新葡的京集团350vip8888 - 葡京新集团350网址

[2] ErrorException in Connection.php line 368

Error while sending STMT_PREPARE packet. PID=2317462

  1. $this->free();
  2. }
  3. Db::$queryTimes++;
  4. try {
  5. // 调试开始
  6. $this->debug(true);
  7. // 预处理
  8. if (empty($this->PDOStatement)) {
  9. $this->PDOStatement = $this->linkID->prepare($sql);
  10. }
  11. // 是否为存储过程调用
  12. $procedure = in_array(strtolower(substr(trim($sql), 0, 4)), ['call', 'exec']);
  13. // 参数绑定
  14. if ($procedure) {
  15. $this->bindParam($bind);
  16. } else {
  17. $this->bindValue($bind);
  18. }

Call Stack

  1. in Connection.php line 368
  2. at Error::appError(2, 'Error while sending ...', '/mnt/www/zahuali.com...', 368, ['sql' => 'SELECT `id` FROM `co...', 'bind' => ['where_parent_id' => [12, 1]], 'master' => false, ...])
  3. at PDO->prepare('SELECT `id` FROM `co...') in Connection.php line 368
  4. at Connection->query('SELECT `id` FROM `co...', ['where_parent_id' => [12, 1]], false, true) in Query.php line 225
  5. at Query->query('SELECT `id` FROM `co...', ['where_parent_id' => [12, 1]], false, true) in Query.php line 2265
  6. at Query->getPdo() in Query.php line 459
  7. at Query->column('id') in Base.php line 278
  8. at Base->_initialize() in Category.php line 16
  9. at Category->_initialize() in Controller.php line 56
  10. at Controller->__construct() in Base.php line 17
  11. at Base->__construct()
  12. at ReflectionClass->newInstanceArgs([]) in App.php line 215
  13. at App::invokeClass('app\home\controller\...') in Loader.php line 420
  14. at Loader::controller('category', 'controller', false, 'Error') in App.php line 390
  15. at App::module(['home', 'category', 'detail'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 295
  16. at App::exec(['type' => 'module', 'module' => ['home', 'category', 'detail']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 123
  17. at App::run() in start.php line 18
  18. at require('/mnt/www/zahuali.com...') in index.php line 23

Exception Datas

Error Context
sql SELECT `id` FROM `core_article_cate` WHERE `parent_id` = :where_parent_id
bind { "where_parent_id": [ 12, 1 ] }
master false
pdo true

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/mnt/www/zahuali.com/public/index.php
QUERY_STRING
s=/home/category/detail/id/3756.html
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/home/category/detail/id/3756.html
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/mnt/www/zahuali.com/public
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.24.0
REMOTE_ADDR
107.158.225.18
REMOTE_PORT
57348
SERVER_ADDR
172.26.115.240
SERVER_PORT
80
SERVER_NAME
ahhuali.com
REDIRECT_STATUS
200
PATH_INFO
/home/category/detail/id/3756.html
HTTP_USER_AGENT
Mozilla/5.0 (compatible; SemrushBot/7~bl; +http://www.semrush.com/bot.html)
HTTP_HOST
www.ahhuali.com
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
gzip
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1775295953.1673
REQUEST_TIME
1775295953
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/mnt/www/zahuali.com/public/../application/
UPLOAD_PATH
/mnt/www/zahuali.com/public/../public
RUNTIME_PATH
/mnt/www/zahuali.com/public/../runtime/
APP_DEBUG
true
THINK_VERSION
5.0.10
THINK_START_TIME
1775295953.1678
THINK_START_MEM
261120
EXT
.php
DS
/
THINK_PATH
/mnt/www/zahuali.com/thinkphp/
LIB_PATH
/mnt/www/zahuali.com/thinkphp/library/
CORE_PATH
/mnt/www/zahuali.com/thinkphp/library/think/
TRAIT_PATH
/mnt/www/zahuali.com/thinkphp/library/traits/
ROOT_PATH
/mnt/www/zahuali.com/
EXTEND_PATH
/mnt/www/zahuali.com/extend/
VENDOR_PATH
/mnt/www/zahuali.com/vendor/
LOG_PATH
/mnt/www/zahuali.com/public/../runtime/log/
CACHE_PATH
/mnt/www/zahuali.com/public/../runtime/cache/
TEMP_PATH
/mnt/www/zahuali.com/public/../runtime/temp/
CONF_PATH
/mnt/www/zahuali.com/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false