Cethlenn
Member
Hi!
I had to find a new host for my forum and succeeded, for the most part, in moving it unscathed.
I'm seeing a new error in registrations, where users are unable to register. They see "There was an error, check back later", and we get the following:
XF\Db\Exception: MySQL query error [1048]: Column 'user_id' cannot be null src/XF/Db/AbstractStatement.php:228
Generated by: Unknown account May 10, 2021 at 1:28 AM
[1:32 AM]
Stack trace
INSERT INTO
------------
#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL query err...', 1048, '23000')
#1 src/XF/Db/Mysqli/Statement.php(77): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1048, '23000')
#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', Array, false)
#5 src/XF/Mvc/Entity/Entity.php(1242): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/XF/Service/User/Registration.php(299): XF\Mvc\Entity\Entity->save()
#7 src/XF/Service/ValidateAndSavableTrait.php(40): XF\Service\User\Registration->_save()`
[1:32 AM]
#8 src/XF/Pub/Controller/Register.php(422): XF\Service\User\Registration->save()
#9 src/addons/SV/SignupAbuseBlocking/XF/Pub/Controller/Register.php(64): XF\Pub\Controller\Register->actionRegister()
#10 src/XF/Mvc/Dispatcher.php(350): SV\SignupAbuseBlocking\XF\Pub\Controller\Register->actionRegister(Object(XF\Mvc\ParameterBag))
#11 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Register', 'Register', Object(XF\Mvc\RouteMatch), Object(SV\SignupAbuseBlocking\XF\Pub\Controller\Register), Object(XF\Mvc\Reply\Reroute))
#12 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\SignupAbuseBlocking\XF\Pub\Controller\Register), Object(XF\Mvc\Reply\Reroute))
#13 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#14 src/XF/App.php(2337): XF\Mvc\Dispatcher->run()
#15 src/XF.php(488): XF\App->run()
#16 index.php(20): XF::runApp('XF\\Pub\\App')
#17 {main}
Request state
array(4) {
["url"] => string(34) "/frphforum/login/register-register"
["referrer"] => string(35) "https://furryrphaven.com/frphforum/"
["_GET"] => array(0) {
}
["_POST"] => array(20) {
["username"] => string(0) ""
["2489cf55374203e2059313eca76d1329463b12d1"] => string(6) "skreee"
["1a649dba6f2f347d3a4c50cd717b3b6e01539a5b"] => string(0) ""
["c7b98d91d5c404e91ef53d533d16ebcbd944488d"] => string(13) "test@test.com"
["email"] => string(0) ""
["1b2f07223cbca936799afbed967fab54ee3dfe62"] => string(8) "********"
["dob_month"] => string(1) "1"
["dob_day"] => string(1) "3"
["dob_year"] => string(4) "2000"
["location"] => string(2) "US"
["captcha_question_answer"] => string(4) "blue"
["captcha_question_hash"] => string(40) "4baf5c73c45dba45b6f8127548ecb9f90bd734e2"
["accept"] => string(1) "1"
["reg_key"] => string(16) "veZxbsrW5WxiSzZf"
["95a1db45877d50d3beb5fd350d70211a2a4a567e"] => string(19) "America/Los_Angeles"
["_xfToken"] => string(8) "********"
["timetaken"] => string(6) "35.292"
["_xfRequestUri"] => string(11) "/frphforum/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
Any help would be appreciated. The forum was at 2.2.4 prior to the move and upgraded to 2.2.5 afterward.
Best,
Cethlenn
I had to find a new host for my forum and succeeded, for the most part, in moving it unscathed.
I'm seeing a new error in registrations, where users are unable to register. They see "There was an error, check back later", and we get the following:
XF\Db\Exception: MySQL query error [1048]: Column 'user_id' cannot be null src/XF/Db/AbstractStatement.php:228
Generated by: Unknown account May 10, 2021 at 1:28 AM
[1:32 AM]
Stack trace
INSERT INTO
xf_user
(visible
, activity_visible
, user_group_id
, timezone
, language_id
, last_summary_email_date
, 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
, xfmg_album_count
, xfmg_media_count
, xfmg_media_quota
, xfrm_resource_count
) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)------------
#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL query err...', 1048, '23000')
#1 src/XF/Db/Mysqli/Statement.php(77): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1048, '23000')
#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', Array, false)
#5 src/XF/Mvc/Entity/Entity.php(1242): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/XF/Service/User/Registration.php(299): XF\Mvc\Entity\Entity->save()
#7 src/XF/Service/ValidateAndSavableTrait.php(40): XF\Service\User\Registration->_save()`
[1:32 AM]
#8 src/XF/Pub/Controller/Register.php(422): XF\Service\User\Registration->save()
#9 src/addons/SV/SignupAbuseBlocking/XF/Pub/Controller/Register.php(64): XF\Pub\Controller\Register->actionRegister()
#10 src/XF/Mvc/Dispatcher.php(350): SV\SignupAbuseBlocking\XF\Pub\Controller\Register->actionRegister(Object(XF\Mvc\ParameterBag))
#11 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Register', 'Register', Object(XF\Mvc\RouteMatch), Object(SV\SignupAbuseBlocking\XF\Pub\Controller\Register), Object(XF\Mvc\Reply\Reroute))
#12 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\SignupAbuseBlocking\XF\Pub\Controller\Register), Object(XF\Mvc\Reply\Reroute))
#13 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#14 src/XF/App.php(2337): XF\Mvc\Dispatcher->run()
#15 src/XF.php(488): XF\App->run()
#16 index.php(20): XF::runApp('XF\\Pub\\App')
#17 {main}
Request state
array(4) {
["url"] => string(34) "/frphforum/login/register-register"
["referrer"] => string(35) "https://furryrphaven.com/frphforum/"
["_GET"] => array(0) {
}
["_POST"] => array(20) {
["username"] => string(0) ""
["2489cf55374203e2059313eca76d1329463b12d1"] => string(6) "skreee"
["1a649dba6f2f347d3a4c50cd717b3b6e01539a5b"] => string(0) ""
["c7b98d91d5c404e91ef53d533d16ebcbd944488d"] => string(13) "test@test.com"
["email"] => string(0) ""
["1b2f07223cbca936799afbed967fab54ee3dfe62"] => string(8) "********"
["dob_month"] => string(1) "1"
["dob_day"] => string(1) "3"
["dob_year"] => string(4) "2000"
["location"] => string(2) "US"
["captcha_question_answer"] => string(4) "blue"
["captcha_question_hash"] => string(40) "4baf5c73c45dba45b6f8127548ecb9f90bd734e2"
["accept"] => string(1) "1"
["reg_key"] => string(16) "veZxbsrW5WxiSzZf"
["95a1db45877d50d3beb5fd350d70211a2a4a567e"] => string(19) "America/Los_Angeles"
["_xfToken"] => string(8) "********"
["timetaken"] => string(6) "35.292"
["_xfRequestUri"] => string(11) "/frphforum/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
Any help would be appreciated. The forum was at 2.2.4 prior to the move and upgraded to 2.2.5 afterward.
Best,
Cethlenn