[10501] PDOException in Connection.php line 463

SQLSTATE[22007]: Invalid datetime format: 1292 Truncated incorrect DOUBLE value: '曼朗SEO'

  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 463
  2. at Connection->execute('UPDATE `seonew_news`...', ['where_AND_id' => ['2650', 1]], object(Query)) in Query.php line 262
  3. at Query->execute('UPDATE `seonew_news`...', ['where_AND_id' => ['2650', 1]], object(Query)) in Query.php line 2390
  4. at Query->update(['views' => ['inc', 1]]) in Query.php line 604
  5. at Query->setField('views', ['inc', 1]) in Query.php line 633
  6. at Query->setInc('views') in News.php line 109
  7. at News->detail()
  8. at ReflectionMethod->invokeArgs(object(News), []) in App.php line 343
  9. at App::invokeMethod([object(News), 'detail'], []) in App.php line 611
  10. at App::module(['home', 'news', 'detail'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 457
  11. at App::exec(['type' => 'module', 'module' => ['home', 'news', 'detail'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  12. at App::run() in start.php line 19
  13. at require('/web/seoasl/thinkphp...') in index.php line 23

Exception Datas

PDO Error Info
SQLSTATE 22007
Driver Error Code 1292
Driver Error Message Truncated incorrect DOUBLE value: '曼朗SEO'
Database Status
Error Code 10501
Error Message SQLSTATE[22007]: Invalid datetime format: 1292 Truncated incorrect DOUBLE value: '曼朗SEO'
Error SQL UPDATE `seonew_news` SET `views`=`views`+1 WHERE `id` = 2650
Database Config
type mysql
hostname 127.0.0.1
database seoaslnewl
hostport 3306
dsn
params []
charset utf8
prefix seonew_
debug true
deploy 0
rw_separate false
master_num 1
slave_no
read_master false
fields_strict true
result_type 2
resultset_type \think\Collection
auto_timestamp true
datetime_format Y-m-d H:i
sql_explain true
builder
query \think\db\Query
break_reconnect true

Environment Variables

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

Server/Request Data

USER
nobody
HOME
/
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/web/seoasl/public/index.php
PATH_INFO
seowenda/2650.html
PATH_TRANSLATED
/web/seoasl/public
QUERY_STRING
s=seowenda/2650.html
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/seowenda/2650.html
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/web/seoasl/public
SERVER_PROTOCOL
HTTP/1.1
HTTPS
on
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.13.0
REMOTE_ADDR
54.224.52.210
REMOTE_PORT
47754
SERVER_ADDR
172.19.14.49
SERVER_PORT
443
SERVER_NAME
seo.asl.com.cn
REDIRECT_STATUS
200
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
claudebot
HTTP_REFERER
http://seo.asl.com.cn/seowenda/2650.html
HTTP_HOST
seo.asl.com.cn
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711749493.7927
REQUEST_TIME
1711749493
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/web/seoasl/public/../application/
UPLOAD_PATH
/web/seoasl/public/../public
RUNTIME_PATH
/web/seoasl/public/../runtime/
APP_DEBUG
true
THINK_VERSION
5.0.21
THINK_START_TIME
1711749493.793
THINK_START_MEM
260920
EXT
.php
DS
/
THINK_PATH
/web/seoasl/thinkphp/
LIB_PATH
/web/seoasl/thinkphp/library/
CORE_PATH
/web/seoasl/thinkphp/library/think/
TRAIT_PATH
/web/seoasl/thinkphp/library/traits/
ROOT_PATH
/web/seoasl/
EXTEND_PATH
/web/seoasl/extend/
VENDOR_PATH
/web/seoasl/vendor/
LOG_PATH
/web/seoasl/public/../runtime/log/
CACHE_PATH
/web/seoasl/public/../runtime/cache/
TEMP_PATH
/web/seoasl/public/../runtime/temp/
CONF_PATH
/web/seoasl/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false

5 0 0