威尼斯(8188www-WNS认证)-2024 European Cup

[10501] PDOException in Connection.php line 687

SQLSTATE[HY000]: General error: 1615 Prepared statement needs to be re-prepared

  1. $this->debug(false, '', $master);
  2. // 返回结果集
  3. return $this->getResult($pdo, $procedure);
  4. } catch (\PDOException $e) {
  5. if ($this->isBreak($e)) {
  6. return $this->close()->query($sql, $bind, $master, $pdo);
  7. }
  8. throw new PDOException($e, $this->config, $this->getLastsql());
  9. } catch (\Throwable $e) {
  10. if ($this->isBreak($e)) {
  11. return $this->close()->query($sql, $bind, $master, $pdo);
  12. }
  13. throw $e;
  14. } catch (\Exception $e) {
  15. if ($this->isBreak($e)) {
  16. return $this->close()->query($sql, $bind, $master, $pdo);

Call Stack

  1. in Connection.php line 687
  2. at Connection->query('SELECT * FROM `fr_sx...', ['ThinkBind_1_' => ['0', 1]], false, false) in Connection.php line 923
  3. at Connection->select(object(Query)) in Query.php line 3006
  4. at Query->select() in Sxjt.php line 35
  5. at Sxjt->initialize() in Controller.php line 68
  6. at Controller->__construct(object(App))
  7. at ReflectionClass->newInstanceArgs([object(App)]) in Container.php line 439
  8. at Container->invokeClass('app\web\controller\S...', []) in Container.php line 284
  9. at Container->make('app\web\controller\S...', []) in App.php line 725
  10. at App->controller('sxjt', 'controller', false, 'Error') in Module.php line 95
  11. at Module->exec() in Dispatch.php line 168
  12. at Dispatch->run() in App.php line 432
  13. at App->think\{closure}(object(Request), object(Closure), null)
  14. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  15. at Middleware->think\{closure}(object(Request))
  16. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  17. at Middleware->dispatch(object(Request)) in App.php line 435
  18. at App->run() in index.php line 32

Exception Datas

PDO Error Info
SQLSTATE HY000
Driver Error Code 1615
Driver Error Message Prepared statement needs to be re-prepared
Database Status
Error Code 10501
Error Message SQLSTATE[HY000]: General error: 1615 Prepared statement needs to be re-prepared
Error SQL SELECT * FROM `fr_sxjt_tolutiontype` WHERE `pid` = 0 ORDER BY `navorderby` ASC
Database Config
type mysql
hostname 127.0.0.1
database www_fourfaith_cn
hostport fr_
dsn
params []
charset utf8
prefix fr_
debug true
deploy 0
rw_separate false
master_num 1
slave_no
read_master false
fields_strict true
resultset_type array
auto_timestamp false
datetime_format Y-m-d H:i:s
sql_explain false
builder
query \think\db\Query
break_reconnect false
break_match_str []

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID gfo3p2h22r1hhar6tarrcm8no1
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_COOKIE PHPSESSID=gfo3p2h22r1hhar6tarrcm8no1
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.fourfaith.cn
HTTP_USER_AGENT Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.139 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.fourfaith.cn
SERVER_PORT 443
SERVER_ADDR 192.168.0.61
REMOTE_PORT 40756
REMOTE_ADDR 23.90.23.210
SERVER_SOFTWARE nginx/1.18.0
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/www.fourfaith.cn/public
DOCUMENT_URI /index.php
REQUEST_URI /solutiondal/106.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/solutiondal/106.html
SCRIPT_FILENAME /www/wwwroot/www.fourfaith.cn/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1734629402.5258
REQUEST_TIME 1734629402
Environment Variablesempty
ThinkPHP Constants
ENABLE_HTTP_PROXY false
HTTP_PROXY_IP 127.0.0.1
HTTP_PROXY_PORT 8888