informer
Проверенные
- Сообщения
- 116
- Реакции
- 13
- Баллы
- 160
при попытке регистрации вот такая ошибка
как исправить
Вот скрин
Код:
XF\Db\Exception: MySQL query error [1364]: Field 'banner_text' doesn't have a default value src/XF/Db/AbstractStatement.php:228
Сгенерирована пользователем: Неизвестная учётная запись 14.03.21 в 19:08
Код:
Трассировка стека
INSERT INTO `xf_user` (`visible`, `activity_visible`, `user_group_id`, `timezone`, `language_id`, `username`, `email`, `user_state`, `privacy_policy_accepted`, `terms_accepted`, `display_style_group_id`, `secondary_group_ids`, `secret_key`, `user_id`, `style_id`, `permission_combination_id`, `message_count`, `alerts_unread`, `conversations_unread`, `register_date`, `last_activity`, `trophy_points`, `avatar_date`, `avatar_width`, `avatar_height`, `avatar_highdpi`, `gravatar`, `is_moderator`, `is_admin`, `is_staff`, `is_banned`, `reaction_score`, `custom_title`, `warning_points`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
------------
#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL query err...', 1364, 'HY000')
#1 src/XF/Db/Mysqli/Statement.php(77): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1364, 'HY000')
#2 src/XF/Db/AbstractAdapter.php(94): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(218): XF\Db\AbstractAdapter->query('INSERT INTO `x...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1463): XF\Db\AbstractAdapter->insert('xf_user', Array, false)
#5 src/XF/Mvc/Entity/Entity.php(1195): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/XF/Service/User/Registration.php(279): XF\Mvc\Entity\Entity->save()
#7 src/XF/Service/ValidateAndSavableTrait.php(40): XF\Service\User\Registration->_save()
#8 src/XF/Pub/Controller/Register.php(419): XF\Service\User\Registration->save()
#9 src/XF/Mvc/Dispatcher.php(350): XF\Pub\Controller\Register->actionRegister(Object(XF\Mvc\ParameterBag))
#10 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Register', 'Register', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Register), NULL)
#11 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Register), NULL)
#12 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#13 src/XF/App.php(2191): XF\Mvc\Dispatcher->run()
#14 src/XF.php(391): XF\App->run()
#15 index.php(20): XF::runApp('XF\\Pub\\App')
#16 {main}
Код:
array(4) {
["url"] => string(18) "/register/register"
["referrer"] => string(30) "https://tankivboi.ru/register/"
["_GET"] => array(0) {
}
["_POST"] => array(15) {
["username"] => string(0) ""
["21b50096a82d98783587fde98f6c0710a4b551d6"] => string(14) "Лjjjsuisiduxb"
["6b63d8d68653e2e9417189e6926fb909109f4e7d"] => string(16) "[email protected]"
["f784bdddb51a86c99008cd0cb9095182eac4eeb2"] => string(8) "********"
["dob_month"] => string(1) "6"
["dob_day"] => string(1) "3"
["dob_year"] => string(4) "1987"
["email_choice"] => string(1) "1"
["accept"] => string(1) "1"
["reg_key"] => string(16) "oF4fCmGXkKYMO_EX"
["751426f97486b995d29c88d5eae128254b0dbc05"] => string(13) "Europe/Moscow"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(10) "/register/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
как исправить
Вот скрин