Warning (512): SQL Error: 1048: Column 'host' cannot be null [CORE/cake/libs/model/datasources/dbo_source.php, line 525]
Code |
Context$sql = "INSERT INTO `TUACollect` (`createdAt`, `userAgent`, `HTTP_SEC_CH_UA`, `HTTP_SEC_CH_UA_PLATFORM`, `REMOTE_ADDR`, `HTTP_REFERER`, `host`, `urlPath`) VALUES ('2025-06-01 09:43:14', 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '', '216.73.216.89', '', NULL, '')"
$error = "1048: Column 'host' cannot be null"
$out = null
$out = null;
if ($error) {
trigger_error("<span style = \"color:Red;text-align:left\"><b>SQL Error:</b> {$this->error}</span>", E_USER_WARNING);
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 525
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 201
DboSource::create() - CORE/cake/libs/model/datasources/dbo_source.php, line 585
Model::save() - CORE/cake/libs/model/model.php, line 1253
Model::__save() - CORE/cake/libs/model/model.php, line 1658
Model::saveAll() - CORE/cake/libs/model/model.php, line 1562
NprowebclientUACollect::insert() - APP/models/nprowebclient_ua_collect.php, line 20
uacollectController::iframe() - APP/controllers/uacollect_controller.php, line 134
Object::dispatchMethod() - CORE/cake/libs/object.php, line 116
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 229
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 196
[main] - APP/webroot/index.php, line 230
Query: INSERT INTO `TUACollect` (`createdAt`, `userAgent`, `HTTP_SEC_CH_UA`, `HTTP_SEC_CH_UA_PLATFORM`, `REMOTE_ADDR`, `HTTP_REFERER`, `host`, `urlPath`) VALUES ('2025-06-01 09:43:14', 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '', '216.73.216.89', '', NULL, '')