Warning (512): SQL Error: 1048: Column 'vat' cannot be null [CORE/cake/libs/model/datasources/dbo_source.php, line 684]Code |
Context $out = null;
if ($error) {
trigger_error('<span style="color:Red;text-align:left"><b>' . __('SQL Error:', true) . "</b> {$this->error}</span>", E_USER_WARNING);
$sql = "INSERT INTO `basket` (`id`, `eshop_id`, `sessionid`, `productid`, `nazev`, `baseprice`, `vat`, `itemprice`, `itemtime`, `user_id`, `amount`, `txvalue`) VALUES (76789079, 2, '026419b5755ac2b4f5c413d94f8a68ce', 66340, NULL, 0, NULL, 0.000000, 1728729471, 0, 1, '')"
$error = "1048: Column 'vat' cannot be null"
$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
DboSource::create() - CORE/cake/libs/model/datasources/dbo_source.php, line 752
Model::save() - CORE/cake/libs/model/model.php, line 1343
BasketController::additem() - APP/controllers/basket_controller.php, line 236
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 213
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 180
Object::requestAction() - CORE/cake/libs/object.php, line 95
Eshop::drawBasket() - APP/webroot/eshop.php, line 6368
include - APP/views/basket/display.ctp, line 24
View::_render() - CORE/cake/libs/view/view.php, line 731
View::render() - CORE/cake/libs/view/view.php, line 426
Controller::render() - CORE/cake/libs/controller/controller.php, line 909
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 216
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 180
EcoreDispatcher::dispatch() - APP/webroot/ecoredispatcher.php, line 83
Query: INSERT INTO `basket` (`id`, `eshop_id`, `sessionid`, `productid`, `nazev`, `baseprice`, `vat`, `itemprice`, `itemtime`, `user_id`, `amount`, `txvalue`) VALUES (76789079, 2, '026419b5755ac2b4f5c413d94f8a68ce', 66340, NULL, 0, NULL, 0.000000, 1728729471, 0, 1, '')