[10501] PDOException in Connection.php line 453

SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'clicks' at row 1

  1. $query->readMaster();
  2. }
  3. $this->numRows = $this->PDOStatement->rowCount();
  4. return $this->numRows;
  5. } catch (\PDOException $e) {
  6. if ($this->isBreak($e)) {
  7. return $this->close()->execute($sql, $bind, $query);
  8. }
  9. throw new PDOException($e, $this->config, $this->getLastsql());
  10. } catch (\Throwable $e) {
  11. if ($this->isBreak($e)) {
  12. return $this->close()->execute($sql, $bind, $query);
  13. }
  14. throw $e;
  15. } catch (\Exception $e) {
  16. if ($this->isBreak($e)) {
  17. return $this->close()->execute($sql, $bind, $query);
  18. }

Call Stack

  1. in Connection.php line 453
  2. at Connection->execute('UPDATE `qy_article` ...', ['data__clicks' => [32768, 1], 'where_AND_site_id' => [9, 1], 'where_AND_id' => [64, 1]], object(Query)) in Query.php line 269
  3. at Query->execute('UPDATE `qy_article` ...', ['data__clicks' => [32768, 1], 'where_AND_site_id' => [9, 1], 'where_AND_id' => [64, 1]], object(Query)) in Query.php line 2437
  4. at Query->update(['clicks' => 32768])
  5. at call_user_func_array([object(Query), 'update'], [['clicks' => 32768]]) in Relation.php line 144
  6. at Relation->__call('update', [['clicks' => 32768]]) in Site.php line 376
  7. at Site->data(object(Article), object(HasMany)) in Site.php line 59
  8. at Site->article('64')
  9. at ReflectionMethod->invokeArgs(object(Site), ['64']) in App.php line 343
  10. at App::invokeMethod([object(Site), 'article'], []) in App.php line 611
  11. at App::module([null, 'site', 'article'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 456
  12. at App::exec(['type' => 'module', 'module' => [null, 'site', 'article'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  13. at App::run() in start.php line 19
  14. at require('/www/wwwroot/www.hys...') in index.php line 20

Exception Datas

PDO Error Info
SQLSTATE 22003
Driver Error Code 1264
Driver Error Message Out of range value for column 'clicks' at row 1
Database Status
Error Code 10501
Error Message SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'clicks' at row 1
Error SQL UPDATE `qy_article` SET `clicks`=32768 WHERE `site_id` = 9 AND `id` = 64
Database Config
type mysql
hostname localhost
database hysrfid_com
hostport
dsn
params []
charset utf8
prefix qy_
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 true
datetime_format Y-m-d H:i:s
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
{ "region_id": 0 }

Server/Request Data

USER
www
HOME
/home/www
HTTP_HOST
www.hysrfid.com
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
PATH_INFO
/article/ruhejihuoBarTendertiaomashejiruanjian.html
REDIRECT_STATUS
200
SERVER_NAME
www.hysrfid.com
SERVER_PORT
80
SERVER_ADDR
172.30.153.51
REMOTE_PORT
41338
REMOTE_ADDR
18.208.203.36
SERVER_SOFTWARE
nginx/1.22.1
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/www.hysrfid.com/public
DOCUMENT_URI
/index.php
REQUEST_URI
/article/ruhejihuoBarTendertiaomashejiruanjian.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/article/ruhejihuoBarTendertiaomashejiruanjian.html
SCRIPT_FILENAME
/www/wwwroot/www.hysrfid.com/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1710845179.0133
REQUEST_TIME
1710845179
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/www.hysrfid.com/public/../application/
BIND_MODULE
index
THINK_VERSION
5.0.24
THINK_START_TIME
1710845179.0136
THINK_START_MEM
408576
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/www.hysrfid.com/thinkphp/
LIB_PATH
/www/wwwroot/www.hysrfid.com/thinkphp/library/
CORE_PATH
/www/wwwroot/www.hysrfid.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www.hysrfid.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www.hysrfid.com/
EXTEND_PATH
/www/wwwroot/www.hysrfid.com/extend/
VENDOR_PATH
/www/wwwroot/www.hysrfid.com/vendor/
RUNTIME_PATH
/www/wwwroot/www.hysrfid.com/runtime/
LOG_PATH
/www/wwwroot/www.hysrfid.com/runtime/log/
CACHE_PATH
/www/wwwroot/www.hysrfid.com/runtime/cache/
TEMP_PATH
/www/wwwroot/www.hysrfid.com/runtime/temp/
CONF_PATH
/www/wwwroot/www.hysrfid.com/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
PINYIN_DEFAULT
4096
PINYIN_TONE
2
PINYIN_NO_TONE
4
PINYIN_ASCII_TONE
8
PINYIN_NAME
16
PINYIN_KEEP_NUMBER
32
PINYIN_KEEP_ENGLISH
64
PINYIN_UMLAUT_V
128
PINYIN_KEEP_PUNCTUATION
256