[10502] BindParamException in Connection.php line 522

Error occurred when binding parameters '2'

  1. if (is_array($val)) {
  2. if (PDO::PARAM_INT == $val[1] && '' === $val[0]) {
  3. $val[0] = 0;
  4. }
  5. $result = $this->PDOStatement->bindValue($param, $val[0], $val[1]);
  6. } else {
  7. $result = $this->PDOStatement->bindValue($param, $val);
  8. }
  9. if (!$result) {
  10. throw new BindParamException(
  11. "Error occurred when binding parameters '{$param}'",
  12. $this->config,
  13. $this->getLastsql(),
  14. $bind
  15. );
  16. }
  17. }
  18. }

Call Stack

  1. in Connection.php line 522
  2. at Connection->bindValue() in Connection.php line 373
  3. at Connection->query()
  4. at call_user_func_array() in Db.php line 178
  5. at Db::__callStatic() in Archives.php line 705
  6. at Archives::getQueryList() in 57391fcaaa100c3189832bfd28864784.php line 6148
  7. at include('C:\Program Files\iou...') in File.php line 53
  8. at File->read() in Template.php line 188
  9. at Template->fetch() in Think.php line 86
  10. at Think->fetch() in View.php line 163
  11. at View->fetch() in Archives.php line 200
  12. at Archives->index()
  13. at call_user_func_array() in Route.php line 78
  14. at Route->execute()
  15. at ReflectionMethod->invokeArgs() in App.php line 343
  16. at App::invokeMethod() in App.php line 470
  17. at App::exec() in App.php line 139
  18. at App::run() in start.php line 19
  19. at require('C:\Program Files\iou...') in index.php line 131

Exception Datas

Bind Param
0 %free-api收集免费的接口服务
1 做一个api的搬运工%
Database Status
Error Code 10502
Error Message Error occurred when binding parameters '2'
Error SQL '做一个api的搬运工%'elect * from fa_mindmap_data WHERE title like '%free-api收集免费的接口服务'
Database Config
type mysql
hostname 127.0.0.1
database iouyeah_com
hostport
dsn
params []
charset utf8mb4
prefix fa_
debug false
deploy 0
rw_separate false
master_num 1
slave_no
read_master false
fields_strict true
result_type 2
resultset_type array
auto_timestamp false
datetime_format false
sql_explain false
builder
query \think\db\Query
break_reconnect false

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty

Session

think
{ "__searchtoken__": "ef3f035444cf2218a562115bff7bd13f" }

Server/Request Data

PHPRC
"C:\Program Files\iouyeah\UPUPW_ANK_W64\Modules\PHPX\PHP74\php.ini"
PHP_FCGI_MAX_REQUESTS
0
ALLUSERSPROFILE
C:\ProgramData
APPDATA
C:\Windows\system32\config\systemprofile\AppData\Roaming
BT_PANEL
C:\BtSoft\panel
BT_PYTHON
C:\Program Files\python
BT_SETUP
C:\BtSoft
CommonProgramFiles
C:\Program Files\Common Files
CommonProgramFiles(x86)
C:\Program Files (x86)\Common Files
CommonProgramW6432
C:\Program Files\Common Files
COMPUTERNAME
iouyeah
ComSpec
C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK
NO
LOCALAPPDATA
C:\Windows\system32\config\systemprofile\AppData\Local
NODE_HOME
C:\BtSoft\pm2\14.19.3
NUMBER_OF_PROCESSORS
1
OS
Windows_NT
Path
C:\Program Files\ImageMagick-7.0.7-Q8;C:\Windows\system32;;C:\Windows\System32\WindowsPowerShell\v1.0\;;C:\Windows\System32\Wbem;;C:\Program Files\python;C:\Program Files\python\Scripts;;C:\BtSoft\panel\script;;C:\Program Files\python;C:\Program Files\python\Scripts;;C:\BtSoft\panel\script;;C:\Program Files\python;C:\Program Files\python\Scripts;;C:\BtSoft\panel\script;;C:\Program Files\python;C:\Program Files\python\Scripts;;C:\BtSoft\panel\script;;C:\BtSoft\pm2\17.9.1;
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PM2_HOME
C:\BtSoft\pm2\.pm2
PROCESSOR_ARCHITECTURE
AMD64
PROCESSOR_IDENTIFIER
Intel64 Family 6 Model 85 Stepping 4, GenuineIntel
PROCESSOR_LEVEL
6
PROCESSOR_REVISION
5504
ProgramData
C:\ProgramData
ProgramFiles
C:\Program Files
ProgramFiles(x86)
C:\Program Files (x86)
ProgramW6432
C:\Program Files
PSModulePath
C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
PUBLIC
C:\Users\Public
SystemDrive
C:
SystemRoot
C:\Windows
TEMP
C:\Windows\TEMP
TMP
C:\Windows\TEMP
UNRAR_LIB_PATH
C:\Program Files\python\Lib\site-packages\unrar\UnRAR.dll
USERDOMAIN
WORKGROUP
USERNAME
iouyeah$
USERPROFILE
C:\Windows\system32\config\systemprofile
windir
C:\Windows
VH_NAME
iouyeah.com
DOCUMENT_ROOT
C:\Program Files\iouyeah\UPUPW_ANK_W64\WebRoot\Vhosts\iouyeah.com\public\
REMOTE_PORT
41020
REMOTE_ADDR
3.81.97.37
SERVER_PORT
80
SERVER_ADDR
172.18.142.192
SCRIPT_FILENAME
C:\Program Files\iouyeah\UPUPW_ANK_W64\WebRoot\Vhosts\iouyeah.com\public\index.php
PATH_TRANSLATED
C:\Program Files\iouyeah\UPUPW_ANK_W64\WebRoot\Vhosts\iouyeah.com\public\index.php
SCRIPT_NAME
/index.php
QUERY_STRING
s=/jishu/23018.html
HTTP_X_REWRITE_URL
/jishu/23018.html
REQUEST_URI
/jishu/23018.html
REQUEST_METHOD
GET
SERVER_PROTOCOL
HTTP/1.1
SERVER_NAME
iouyeah.com
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
kangle/3.5.20
HTTP_HOST
iouyeah.com
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711677817.7945
REQUEST_TIME
1711677817
PATH_INFO
/jishu/23018.html
Environment Variables
empty

ThinkPHP Constants

APP_PATH
C:\Program Files\iouyeah\UPUPW_ANK_W64\WebRoot\Vhosts\iouyeah.com\public/../application/
THINK_VERSION
5.0.25
THINK_START_TIME
1711677817.8024
THINK_START_MEM
508768
EXT
.php
DS
\
THINK_PATH
C:\Program Files\iouyeah\UPUPW_ANK_W64\WebRoot\Vhosts\iouyeah.com\thinkphp\
LIB_PATH
C:\Program Files\iouyeah\UPUPW_ANK_W64\WebRoot\Vhosts\iouyeah.com\thinkphp\library\
CORE_PATH
C:\Program Files\iouyeah\UPUPW_ANK_W64\WebRoot\Vhosts\iouyeah.com\thinkphp\library\think\
TRAIT_PATH
C:\Program Files\iouyeah\UPUPW_ANK_W64\WebRoot\Vhosts\iouyeah.com\thinkphp\library\traits\
ROOT_PATH
C:\Program Files\iouyeah\UPUPW_ANK_W64\WebRoot\Vhosts\iouyeah.com\
EXTEND_PATH
C:\Program Files\iouyeah\UPUPW_ANK_W64\WebRoot\Vhosts\iouyeah.com\extend\
VENDOR_PATH
C:\Program Files\iouyeah\UPUPW_ANK_W64\WebRoot\Vhosts\iouyeah.com\vendor\
RUNTIME_PATH
C:\Program Files\iouyeah\UPUPW_ANK_W64\WebRoot\Vhosts\iouyeah.com\runtime\
LOG_PATH
C:\Program Files\iouyeah\UPUPW_ANK_W64\WebRoot\Vhosts\iouyeah.com\runtime\log\
CACHE_PATH
C:\Program Files\iouyeah\UPUPW_ANK_W64\WebRoot\Vhosts\iouyeah.com\runtime\cache\
TEMP_PATH
C:\Program Files\iouyeah\UPUPW_ANK_W64\WebRoot\Vhosts\iouyeah.com\runtime\temp\
CONF_PATH
C:\Program Files\iouyeah\UPUPW_ANK_W64\WebRoot\Vhosts\iouyeah.com\public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true
FILTER_VALIDATE_BOOL
258
HTMLPURIFIER_PREFIX
C:\Program Files\iouyeah\UPUPW_ANK_W64\WebRoot\Vhosts\iouyeah.com\vendor\ezyang\htmlpurifier\library
ADDON_PATH
C:\Program Files\iouyeah\UPUPW_ANK_W64\WebRoot\Vhosts\iouyeah.com\addons\
XS_APP_ROOT
C:\Program Files\iouyeah\UPUPW_ANK_W64\WebRoot\Vhosts\iouyeah.com\addons\xunsearch\data