Woodle
Проверенные
- Сообщения
- 64
- Реакции
- 10
- Баллы
- 705
Здравствуйте, столкнулся с такой проблемой, не создаются темы.
Журнал ошибок:
Журнал ошибок:
Код:
XF\Db\Exception: MySQL query error [1364]: Field 'md_thread_password' doesn't have a default value src/XF/Db/AbstractStatement.php:228
Сгенерирована пользователем: 4 Янв 2020 в 02:46
Код:
INSERT INTO `xf_thread` (`node_id`, `user_id`, `username`, `discussion_state`, `title`, `discussion_open`, `sticky`, `post_date`, `last_post_date`, `last_post_user_id`, `last_post_username`, `thread_id`, `reply_count`, `view_count`, `discussion_type`, `first_post_id`, `last_post_id`, `first_post_reaction_score`, `first_post_reactions`, `prefix_id`, `custom_fields`, `tags`, `is_sticked`) 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(1452): XF\Db\AbstractAdapter->insert('xf_thread', Array, false)
#5 src/XF/Mvc/Entity/Entity.php(1184): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/XF/Service/Thread/Creator.php(285): XF\Mvc\Entity\Entity->save(true, false)
#7 src/addons/BS/Contests/XF/Service/Thread/Creator.php(44): XF\Service\Thread\Creator->_save()
#8 src/XF/Service/ValidateAndSavableTrait.php(40): BS\Contests\XF\Service\Thread\Creator->_save()
#9 src/XF/Pub/Controller/Forum.php(750): XF\Service\Thread\Creator->save()
#10 src/XF/Mvc/Dispatcher.php(350): XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#11 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Forum', 'PostThread', Object(XF\Mvc\RouteMatch), Object(BS\Contests\XF\Pub\Controller\Forum), NULL)
#12 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(BS\Contests\XF\Pub\Controller\Forum), NULL)
#13 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#14 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
#15 src/XF.php(391): XF\App->run()
#16 index.php(20): XF::runApp('XF\\Pub\\App')
#17 {main}
Последнее редактирование модератором: