• Welcome to XF2 Addons. You can buy my Premium membership for $35 per year, and this gives you access to download any or ALL of the 335 add-ons that I have developed for Xenforo 2.x. In addition, Premium members will get technical support. Once the Premium membership has expired you can continue to use the installed addons on your forum as long as you like.

Register Email - server error


Well-Known Member
Hi Andy,

after upgrading to XF 2.0.6 Beta 1 I get this error:

Server error log
  • ErrorException: [E_NOTICE] Undefined index: requireEmailChoice
  • src/XF/Pub/Controller/Register.php:410
  • Generated by: Unknown account
  • May 8, 2018 at 9:39 PM
Stack trace
#0 src/XF/Pub/Controller/Register.php(410): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/.../p...', 410, Array)
#1 src/XF/Pub/Controller/Register.php(384): XF\Pub\Controller\Register->getRegistrationInput(Object(XF\Service\User\RegisterForm))
#2 src/addons/Andy/RegisterEmail/XF/Pub/Controller/Register.php(10): XF\Pub\Controller\Register->actionRegister()
#3 src/XF/Mvc/Dispatcher.php(249): Andy\RegisterEmail\XF\Pub\Controller\Register->actionRegister(Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Register', 'Register', 'json', Object(XF\Mvc\ParameterBag), '', Object(Andy\RegisterEmail\XF\Pub\Controller\Register), NULL)
#5 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
#7 src/XF.php(328): XF\App->run()
#8 index.php(13): XF::runApp('XF\\Pub\\App')
#9 {main}


Staff member
Hi Uros,

I just installed 2.0.6 Beta 1 (full) and installed the Register email v1.6 add-on and I'm not getting any errors when registering.
Similar threads
Thread starter Title Forum Replies Date
F Background in Register email General 0
L Register Email General 1
M Register email: possible bug General 2
V Register Email Not finding staff General 7
I Register Email General 1
B Register Email 1.4 not sending mail General 6
BassMan Register email General 12
N Register email General 1
J Register e-mail 2.3 missing Username General 0
Andy High resolution email logo General 0
Andy Email deliverability Server Information 4
B Suggestion for First post email General 1
Tourmeister Email Bounce Log reset General 1
Tourmeister Email list generator for exporting General 2
D Edit cron entry: Email subscription General 3
D [Request] Add Option for Auto delete email confirm General 7
X Suggestion new Add-on to Send Email General 0
D Auto delete email confirm: Questions General 2
Andy Bulk email postmaster notification Server Information 0
BassMan [suggestion] Email Subscription General 1
C Email Subscription Error General 0
X Email subscription General 0
C Email Subscriptions Link General 3
P New feature request for new thread email admin 1.2 needs General 1
X Email subscription General 1
M Editing the email in User upgrade reminder General 2
C Email Subscription Doesn't Check "Receive Site Mailings" General 6
I Email subscription, problem with "Guest" subscriptions General 4
T User Tag email not working General 14
T Can’t get weekly digest test email working General 12
I Email subscription 1.2 problem General 4
B New thread email admin on specific forums General 3
P User tag email 1.2 is not working on my forum General 6
D Email Subscription Link missing General 5
Andy Default email transport method General 3
BassMan Email subscription General 2
BassMan Email Subscription General 0
Andy Anyone running Windows server? General 1
Andy Setting server default timezone Server Information 0
Andy How to enable ZIP on your server Server Information 1
W Featured Posts Server Logged Errors General 8

Similar threads