maironlost
Проверенные
- Сообщения
- 214
- Реакции
- 24
- Баллы
- 8,120
Здравствуйте!
Создаю новую группу пользователей, жму сохранить и выдает ошибку. Поискав по форуму, нашел такую же проблему с плагином аватаров, но у меня ни каких плагинов связанных с аватарками нет.
Помогите разобраться.
Это ошибка при нажатие на сохранить.
Журнал ошибок сервера
Трассировка стека
Содержимое запроса
Создаю новую группу пользователей, жму сохранить и выдает ошибку. Поискав по форуму, нашел такую же проблему с плагином аватаров, но у меня ни каких плагинов связанных с аватарками нет.
Помогите разобраться.
Это ошибка при нажатие на сохранить.
Код:
XF\Db\Exception: MySQL query error [1364]: Field 'avatar_frame_enable' 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/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/UserGroup.php at line 120
XF\Admin\Controller\UserGroup->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
Журнал ошибок сервера
Код:
XF\Db\Exception: MySQL query error [1364]: Field 'avatar_frame_enable' doesn't have a default value src/XF/Db/AbstractStatement.php:228
Трассировка стека
Код:
INSERT INTO `xf_user_group` (`title`, `display_style_priority`, `username_css`, `banner_css_class`, `banner_text`, `user_title`, `user_group_id`) 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_user_group', Array, false)
#5 src/XF/Mvc/Entity/Entity.php(1242): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/XF/Mvc/FormAction.php(69): XF\Mvc\Entity\Entity->save(true, false)
#7 src/XF/Mvc/FormAction.php(187): XF\Mvc\FormAction->XF\Mvc\{closure}(Object(XF\Mvc\FormAction))
#8 src/XF/Admin/Controller/UserGroup.php(120): XF\Mvc\FormAction->run()
#9 src/XF/Mvc/Dispatcher.php(350): XF\Admin\Controller\UserGroup->actionSave(Object(XF\Mvc\ParameterBag))
#10 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:UserGroup', 'Save', Object(XF\Mvc\RouteMatch), Object(XENTR\CopyUGP\XF\Admin\Controller\UserGroup), NULL)
#11 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XENTR\CopyUGP\XF\Admin\Controller\UserGroup), NULL)
#12 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#13 src/XF/App.php(2344): XF\Mvc\Dispatcher->run()
#14 src/XF.php(512): XF\App->run()
#15 admin.php(13): XF::runApp('XF\\Admin\\App')
#16 {main}
Содержимое запроса
Код:
array(4) {
["url"] => string(29) "/admin.php?user-groups/0/save"
["referrer"] => string(43) "https://mysliv.ru/admin.php?user-groups/add"
["_GET"] => array(1) {
["user-groups/0/save"] => string(0) ""
}
["_POST"] => array(11) {
["title"] => string(8) "аапа"
["display_style_priority"] => string(1) "0"
["user_title_override"] => string(1) "0"
["username_css"] => string(0) ""
["banner_text"] => string(0) ""
["banner_css_class"] => string(30) "userBanner userBanner--primary"
["permissions"] => array(16) {
["general"] => array(32) {
["view"] => string(5) "unset"
["viewNode"] => string(5) "unset"
["viewMemberList"] => string(5) "unset"
["viewProfile"] => string(5) "unset"
["usePush"] => string(5) "unset"
["maxMentionedUsers"] => string(1) "0"
["search"] => string(5) "unset"
["createTag"] => string(5) "unset"
["bypassUserTagLimit"] => string(5) "unset"
["editProfile"] => string(5) "unset"
["editCustomTitle"] => string(5) "unset"
["requireTfa"] => string(5) "unset"
["changeUsername"] => string(5) "unset"
["changeUsernameNoApproval"] => string(5) "unset"
["submitWithoutApproval"] => string(5) "unset"
["bypassFloodCheck"] => string(5) "unset"
["bypassSpamCheck"] => string(5) "unset"
["bypassNofollowLinks"] => string(5) "unset"
["report"] => string(5) "unset"
["useContactForm"] => string(5) "unset"
["viewIps"] => string(5) "unset"
["bypassUserPrivacy"] => string(5) "unset"
["cleanSpam"] => string(5) "unset"
["viewWarning"] => string(5) "unset"
["warn"] => string(5) "unset"
["manageWarning"] => string(5) "unset"
["editBasicProfile"] => string(5) "unset"
["approveRejectUser"] => string(5) "unset"
["approveUsernameChange"] => string(5) "unset"
["banUser"] => string(5) "unset"
["smokeHSShowSignature"] => string(5) "unset"
["editSignature"] => string(5) "unset"
}
["avatar"] => array(1) {
["allowed"] => string(5) "unset"
}
["profileBanner"] => array(1) {
["allowed"] => string(5) "unset"
}
["PermissionAdminNotice"] => array(1) {
["CanUseAdminNotice"] => string(5) "unset"
}
["deku_user_notes"] => array(1) {
["can_create"] => string(5) "unset"
}
["bookmark"] => array(2) {
["view"] => string(5) "unset"
["create"] => string(5) "unset"
}
["forum"] => array(41) {
["viewOthers"] => string(5) "unset"
["viewContent"] => string(5) "unset"
["react"] => string(5) "unset"
["contentVote"] => string(5) "unset"
["markSolution"] => string(5) "unset"
["postThread"] => string(5) "unset"
["postReply"] => string(5) "unset"
["deleteOwnPost"] => string(5) "unset"
["editOwnPost"] => string(5) "unset"
["editOwnPostTimeLimit"] => string(1) "0"
["editOwnThreadTitle"] => string(5) "unset"
["deleteOwnThread"] => string(5) "unset"
["viewAttachment"] => string(5) "unset"
["uploadAttachment"] => string(5) "unset"
["uploadVideo"] => string(5) "unset"
["tagOwnThread"] => string(5) "unset"
["tagAnyThread"] => string(5) "unset"
["manageOthersTagsOwnThread"] => string(5) "unset"
["votePoll"] => string(5) "unset"
["viewFsp"] => string(5) "unset"
["inlineMod"] => string(5) "unset"
["stickUnstickThread"] => string(5) "unset"
["lockUnlockThread"] => string(5) "unset"
["manageAnyThread"] => string(5) "unset"
["deleteAnyThread"] => string(5) "unset"
["hardDeleteAnyThread"] => string(5) "unset"
["threadReplyBan"] => string(5) "unset"
["editAnyPost"] => string(5) "unset"
["deleteAnyPost"] => string(5) "unset"
["hardDeleteAnyPost"] => string(5) "unset"
["warn"] => string(5) "unset"
["manageAnyTag"] => string(5) "unset"
["viewDeleted"] => string(5) "unset"
["viewModerated"] => string(5) "unset"
["undelete"] => string(5) "unset"
["approveUnapprove"] => string(5) "unset"
["markSolutionAnyThread"] => string(5) "unset"
["stickUnstickThreadsInFsp"] => string(5) "unset"
["mh_bypass"] => string(5) "unset"
["klAMDPMergeTime"] => string(1) "0"
["klAMDPBypassMerge"] => string(5) "unset"
}
["uw_smiley_bar"] => array(1) {
["uw_can_use_large_smileys"] => string(5) "unset"
}
["conversation"] => array(10) {
["start"] => string(5) "unset"
["receive"] => string(5) "unset"
["react"] => string(5) "unset"
["uploadAttachment"] => string(5) "unset"
["uploadVideo"] => string(5) "unset"
["editOwnMessage"] => string(5) "unset"
["editOwnMessageTimeLimit"] => string(1) "0"
["maxRecipients"] => string(1) "0"
["editAnyMessage"] => string(5) "unset"
["alwaysInvite"] => string(5) "unset"
}
["signature"] => array(14) {
["basicText"] => string(5) "unset"
["extendedText"] => string(5) "unset"
["align"] => string(5) "unset"
["list"] => string(5) "unset"
["image"] => string(5) "unset"
["link"] => string(5) "unset"
["media"] => string(5) "unset"
["block"] => string(5) "unset"
["maxPrintable"] => string(1) "0"
["maxLines"] => string(1) "0"
["maxLinks"] => string(1) "0"
["maxImages"] => string(1) "0"
["maxSmilies"] => string(1) "0"
["maxTextSize"] => string(1) "0"
}
["profilePost"] => array(19) {
["view"] => string(5) "unset"
["react"] => string(5) "unset"
["manageOwn"] => string(5) "unset"
["post"] => string(5) "unset"
["comment"] => string(5) "unset"
["deleteOwn"] => string(5) "unset"
["editOwn"] => string(5) "unset"
["viewAttachment"] => string(5) "unset"
["uploadAttachment"] => string(5) "unset"
["uploadVideo"] => string(5) "unset"
["inlineMod"] => string(5) "unset"
["editAny"] => string(5) "unset"
["deleteAny"] => string(5) "unset"
["hardDeleteAny"] => string(5) "unset"
["warn"] => string(5) "unset"
["viewDeleted"] => string(5) "unset"
["viewModerated"] => string(5) "unset"
["undelete"] => string(5) "unset"
["approveUnapprove"] => string(5) "unset"
}
["siropuShoutbox"] => array(11) {
["view"] => string(5) "unset"
["use"] => string(5) "unset"
["editOwn"] => string(5) "unset"
["deleteOwn"] => string(5) "unset"
["deleteAny"] => string(5) "unset"
["editAny"] => string(5) "unset"
["prune"] => string(5) "unset"
["bypassFloodCheck"] => string(5) "unset"
["viewBanned"] => string(5) "unset"
["ban"] => string(5) "unset"
["viewArchive"] => string(5) "unset"
}
["hide"] => array(32) {
["useTagHide"] => string(5) "unset"
["useTagPosts"] => string(5) "unset"
["useTagLikes"] => string(5) "unset"
["useTagDays"] => string(5) "unset"
["useTagTrophies"] => string(5) "unset"
["useTagClub"] => string(5) "unset"
["useTagGroups"] => string(5) "unset"
["useTagThanks"] => string(5) "unset"
["useTagReacts"] => string(5) "unset"
["useTagReply"] => string(5) "unset"
["useTagReplythanks"] => string(5) "unset"
["useTagReplyandthanks"] => string(5) "unset"
["useTagUsers"] => string(5) "unset"
["useTagUsersid"] => string(5) "unset"
["useTagUsersexc"] => string(5) "unset"
["useTagUsersidexc"] => string(5) "unset"
["bypassTagHide"] => string(5) "unset"
["bypassTagPosts"] => string(5) "unset"
["bypassTagLikes"] => string(5) "unset"
["bypassTagDays"] => string(5) "unset"
["bypassTagTrophies"] => string(5) "unset"
["bypassTagClub"] => string(5) "unset"
["bypassTagGroups"] => string(5) "unset"
["bypassTagThanks"] => string(5) "unset"
["bypassTagReacts"] => string(5) "unset"
["bypassTagReply"] => string(5) "unset"
["bypassTagReplythanks"] => string(5) "unset"
["bypassTagReplyandthanks"] => string(5) "unset"
["bypassTagUsers"] => string(5) "unset"
["bypassTagUsersid"] => string(5) "unset"
["bypassTagUsersexc"] => string(5) "unset"
["bypassTagUsersidexc"] => string(5) "unset"
}
["spaminatorLog"] => array(1) {
["view"] => string(5) "unset"
}
["svg_neo_permission"] => array(2) {
["svg_neo_threads_ignore"] => string(5) "unset"
["svg_neo_conv_ignore"] => string(5) "unset"
}
["sf_core_permissions"] => array(1) {
["sf_announcement_view"] => string(5) "unset"
}
}
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(26) "/admin.php?user-groups/add"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}