Code |
Context
if ($this->error) {
$this->showQuery($sql);
$sql = "UPDATE `products` SET `id` = 172, `view` = 1760, `modified` = '1614355815' WHERE `products`.`id` = 172"
$error = "1292: Incorrect datetime value: '1614355815' for column `ongnuoc_diennuochalong`.`products`.`modified` at row 1"
$out = null
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 684
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 266
DboMysqlBase::update() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 196
Model::save() - CORE/cake/libs/model/model.php, line 1337
ProductController::view() - APP/controllers/product_controller.php, line 34
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 86