Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Field 'auto_warning_id' doesn't have a default value - library/Zend/Db/Statement/Mysqli.php:214
Сгенерирована пользователем: Empreror, Сегодня, в 12:45
Трассировка стэка
#0 /home/***/public_html/forum/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /home/***/public_html/forum/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home/***/public_html/forum/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `xf...', Array)
#3 /home/***/public_html/forum/library/XenForo/DataWriter.php(1612): Zend_Db_Adapter_Abstract->insert('xf_warning', Array)
#4 /home/***/public_html/forum/library/XenForo/DataWriter.php(1601): XenForo_DataWriter->_insert()
#5 /home/***/public_html/forum/library/XenForo/DataWriter.php(1393): XenForo_DataWriter->_save()
#6 /home/***/public_html/forum/library/XenForo/ControllerPublic/Member.php(833): XenForo_DataWriter->save()
#7 /home/***/public_html/forum/library/XenForo/FrontController.php(337): XenForo_ControllerPublic_Member->actionWarn()
#8 /home/***/public_html/forum/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#9 /home/***/public_html/forum/index.php(13): XenForo_FrontController->run()
#10 {main}
Содержимое запроса
array(3) {
["url"] => string(40) "https://********/forum/members/294/warn"
["_GET"] => array(0) {
}
["_POST"] => array(14) {
["warning_definition_id"] => string(1) "0"
["title"] => string(8) "Флуд"
["points_enable"] => string(1) "1"
["points"] => string(1) "1"
["expiry_enable"] => string(1) "1"
["expiry_value"] => string(1) "7"
["expiry_unit"] => string(4) "days"
["notes"] => string(12) "Флудил"
["conversation_title"] => string(50) "Вы получили предупреждение"
["conversation_message"] => string(37) "Флуд в теме магазина"
["content_type"] => string(4) "user"
["content_id"] => string(3) "294"
["redirect"] => string(35) "https://*****/forum/reports/14/"
["_xfToken"] => string(8) "********"
}
}