▲ กลับด้านบน
PDOException Object
(
[message:protected] => SQLSTATE[23000]: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Cannot insert the value NULL into column 'id_log', table 'vstar.dbo.zlog_tb_blog'; column does not allow nulls. INSERT fails.
[string:Exception:private] =>
[code:protected] => 23000
[file:protected] => D:\WWWROOT\inc\class_db.php
[line:protected] => 137
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => D:\WWWROOT\inc\class_db.php
[line] => 137
[function] => execute
[class] => PDOStatement
[type] => ->
[args] => Array
(
)
)
[1] => Array
(
[file] => D:\WWWROOT\vstarproject\page\news.php
[line] => 51
[function] => query
[class] => DB
[type] => ->
[args] => Array
(
[0] =>
UPDATE tb_blog
SET
nView_count = '5280'
WHERE
nId_blog = '36'
)
)
)
[previous:Exception:private] =>
[errorInfo] => Array
(
[0] => 23000
[1] => 515
[2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Cannot insert the value NULL into column 'id_log', table 'vstar.dbo.zlog_tb_blog'; column does not allow nulls. INSERT fails.
)
)