Hej!
Mam problem z rejestracją nowych użytkowników, właśnie dostałem taką informację że nie można się zarejestrować na mojej forum, sprawdzając logi, mam:
Jakieś rozwiązanie?
Mam problem z rejestracją nowych użytkowników, właśnie dostałem taką informację że nie można się zarejestrować na mojej forum, sprawdzając logi, mam:
Kod:
Server error log
XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'xfa_cui_forced' in 'field list' src/XF/Db/AbstractStatement.php:230
Generated by: Unknown account Mar 4, 2023 at 10:15 PM
Stack trace
INSERT INTO `xf_user` (`visible`, `activity_visible`, `user_group_id`, `timezone`, `language_id`, `last_summary_email_date`, `xfa_cui_forced`, `xfa_cui_noanim`, `xfa_cui_params`, `username`, `email`, `user_state`, `privacy_policy_accepted`, `terms_accepted`, `display_style_group_id`, `secondary_group_ids`, `secret_key`, `user_id`, `username_date`, `username_date_visible`, `style_id`, `permission_combination_id`, `message_count`, `question_solution_count`, `alerts_unviewed`, `alerts_unread`, `conversations_unread`, `register_date`, `last_activity`, `trophy_points`, `avatar_date`, `avatar_width`, `avatar_height`, `avatar_highdpi`, `gravatar`, `security_lock`, `is_moderator`, `is_admin`, `is_staff`, `is_banned`, `reaction_score`, `vote_score`, `custom_title`, `warning_points`, `mjst_ticket_count`, `mjst_department_ids`, `siropu_shoutbox_last_active`, `siropu_shoutbox_post_count`, `siropu_shoutbox_ban`, `custom_title_type`, `thdonate_total_donation`, `thdonate_total_public_donation`, `thdonate_total_anonymous_donation`, `thdonate_num_donation`, `thdonate_num_public_donation`, `thdonate_num_anonymous_donation`, `xfmg_album_count`, `xfmg_media_count`, `xfmg_media_quota`, `xfrm_resource_count`, `andrew_user_note_count`, `andy_country_flag_name`, `andy_country_flag_display`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
------------
#0 src/XF/Db/Mysqli/Statement.php(198): XF\Db\AbstractStatement->getException('MySQL statement...', 1054, '42S22')
#1 src/XF/Db/Mysqli/Statement.php(41): XF\Db\Mysqli\Statement->getException('MySQL statement...', 1054, '42S22')
#2 src/XF/Db/Mysqli/Statement.php(56): XF\Db\Mysqli\Statement->prepare()
#3 src/XF/Db/AbstractAdapter.php(96): XF\Db\Mysqli\Statement->execute()
#4 src/XF/Db/AbstractAdapter.php(220): XF\Db\AbstractAdapter->query('INSERT INTO `x...', Array)
#5 src/XF/Mvc/Entity/Entity.php(1521): XF\Db\AbstractAdapter->insert('xf_user', Array, false)
#6 src/XF/Mvc/Entity/Entity.php(1253): XF\Mvc\Entity\Entity->_saveToSource()
#7 src/XF/Service/User/Registration.php(301): XF\Mvc\Entity\Entity->save()
#8 src/addons/TC/AvatarOnRegistration/XF/Service/User/Registration.php(54): XF\Service\User\Registration->_save()
#9 src/XF/Service/ValidateAndSavableTrait.php(42): TC\AvatarOnRegistration\XF\Service\User\Registration->_save()
#10 src/XF/Pub/Controller/Register.php(427): XF\Service\User\Registration->save()
#11 src/XF/Mvc/Dispatcher.php(352): XF\Pub\Controller\Register->actionRegister(Object(XF\Mvc\ParameterBag))
#12 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Register', 'Register', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Register), NULL)
#13 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Register), NULL)
#14 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#15 src/XF/App.php(2483): XF\Mvc\Dispatcher->run()
#16 src/XF.php(524): XF\App->run()
#17 index.php(20): XF::runApp('XF\\Pub\\App')
#18 {main}
Request state
array(4) {
["url"] => string(28) "/index.php?register/register"
["referrer"] => string(49) "[ciach]/index.php?register/"
["_GET"] => array(1) {
["register/register"] => string(0) ""
}
["_POST"] => array(16) {
["_xfToken"] => string(8) "********"
["username"] => string(0) ""
["0d0e0d9f6c5e411879683781faf65fc9d274ae54"] => string(7) "[at]"
["4bb5d2e42642fc4cbc03ef5a0628ba8b8b5f3138"] => string(25) "macie[at]@gmail.com"
["password"] => string(8) "********"
["588586405e3e542df7bf0ba263cb32e846d6f923"] => string(8) "********"
["dob_month"] => string(1) "3"
["dob_day"] => string(2) "04"
["dob_year"] => string(4) "[ciach]"
["location"] => string(7) "[ciach]"
["accept"] => string(1) "1"
["reg_key"] => string(16) "[ciach]"
["0784c0bdeaa6ebfeb36a0d100c1a13b57ef2ea33"] => string(16) "Europe/Amsterdam"
["_xfRequestUri"] => string(20) "/index.php?register/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}