tirpix
Проверенные
- Сообщения
- 717
- Решения
- 3
- Реакции
- 294
- Баллы
- 3,365
- Меценат
- #1
Здравствуйте.
При создании форума получаю ошибку. Поиск по ошибке результатов пока не дал. Все плагины отключены.
XF\Db\Exception: MySQL query error [1364]: Field 'icon_dimensions' doesn't have a default value in src/XF/Db/AbstractStatement.php at line 228
При создании форума получаю ошибку. Поиск по ошибке результатов пока не дал. Все плагины отключены.
XF\Db\Exception: MySQL query error [1364]: Field 'icon_dimensions' doesn't have a default value in src/XF/Db/AbstractStatement.php at line 228
Код:
XF\Db\Exception: MySQL query error [1364]: Field 'icon_dimensions' doesn't have a default value in src/XF/Db/AbstractStatement.php at line 228
XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 77
XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 94
XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 218
XF\Db\AbstractAdapter->insert() in src/XF/Mvc/Entity/Entity.php at line 1510
XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.php at line 1242
XF\Mvc\Entity\Entity->save() in src/XF/Mvc/Entity/Entity.php at line 1260
XF\Mvc\Entity\Entity->save() in src/XF/Mvc/FormAction.php at line 69
XF\Mvc\FormAction->XF\Mvc\{closure}() in src/XF/Mvc/FormAction.php at line 187
XF\Mvc\FormAction->run() in src/XF/Admin/Controller/AbstractNode.php at line 110
XF\Admin\Controller\AbstractNode->actionSave() in src/XF/Mvc/Dispatcher.php at line 350
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2344
XF\App->run() in src/XF.php at line 512
XF::runApp() in admin.php at line 13
Код:
Трассировка стека
INSERT INTO `xf_forum` (`node_id`, `allow_posting`, `moderate_threads`, `moderate_replies`, `count_messages`, `find_new`, `allowed_watch_notifications`, `default_sort_order`, `default_sort_direction`, `list_date_limit_days`, `default_prefix_id`, `require_prefix`, `min_tags`, `allow_index`, `index_criteria`, `forum_type_id`, `type_config`, `discussion_count`, `message_count`, `last_post_id`, `last_post_date`, `last_post_user_id`, `last_post_username`, `last_thread_id`, `last_thread_title`, `last_thread_prefix_id`, `field_cache`, `prefix_cache`, `prompt_cache`) 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(1510): XF\Db\AbstractAdapter->insert('xf_forum', Array, false)
#5 src/XF/Mvc/Entity/Entity.php(1242): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/XF/Mvc/Entity/Entity.php(1260): XF\Mvc\Entity\Entity->save(true, false)
#7 src/XF/Mvc/FormAction.php(69): XF\Mvc\Entity\Entity->save(true, false)
#8 src/XF/Mvc/FormAction.php(187): XF\Mvc\FormAction->XF\Mvc\{closure}(Object(XF\Mvc\FormAction))
#9 src/XF/Admin/Controller/AbstractNode.php(110): XF\Mvc\FormAction->run()
#10 src/XF/Mvc/Dispatcher.php(350): XF\Admin\Controller\AbstractNode->actionSave(Object(XF\Mvc\ParameterBag))
#11 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Forum', 'Save', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Forum), NULL)
#12 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Forum), NULL)
#13 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#14 src/XF/App.php(2344): XF\Mvc\Dispatcher->run()
#15 src/XF.php(512): XF\App->run()
#16 admin.php(13): XF::runApp('XF\\Admin\\App')
#17 {main}
Код:
Содержимое запроса
array(4) {
["url"] => string(24) "/admin.php?forums/0/save"
["referrer"] => string(87) "https://belorechensk.net/admin.php?forums/add&parent_node_id=0&forum_type_id=discussion"
["_GET"] => array(1) {
["forums/0/save"] => string(0) ""
}
["_POST"] => array(16) {
["node"] => array(7) {
["title"] => string(4) "TEST"
["description"] => string(33) "Тестовое описание"
["node_name"] => string(0) ""
["parent_node_id"] => string(1) "0"
["display_order"] => string(1) "1"
["display_in_list"] => string(1) "1"
["navigation_id"] => string(0) ""
}
["forum_type_id"] => string(10) "discussion"
["default_prefix_id"] => string(2) "-1"
["allow_posting"] => string(1) "1"
["count_messages"] => string(1) "1"
["find_new"] => string(1) "1"
["allow_index"] => string(5) "allow"
["min_tags"] => string(1) "0"
["allowed_watch_notifications"] => string(3) "all"