It looks like LoginToboggan conflicts with both Profile2 registration path and with Invite when you require email verification.
There's already a bug report filed for Invite. #1427544: LT and Invites module conflict when 'Invitees only' setting is used
I'll be filing one for Profile2 registration path shortly.
Steps to reproduce -
1. Clean install of Drupal 7 with LoginToboggan and Profile2 Registration Path installed
2. Create a profile type with it's own registration path
3. Require email address verification before login
4. Create a new user using the custom registration path
Error message:
Notice: Undefined variable: mailkey in logintoboggan_user_register_submit() (line 525 of /public_html/sites/all/modules/logintoboggan/logintoboggan.module).
Notice: Undefined variable: text in _user_mail_text() (line 2746 of /public_html/modules/user/user.module).
Notice: Undefined variable: text in _user_mail_text() (line 2746 of /public_html/modules/user/user.module)
Problem behavior:
Faulty behavior: email is blank.
Seems as though, if this is a bug that comes up when LoginToboggan is co-existing with two other modules, it would be fastest if it were fixed here rather than the other two projects.
Comments
Comment #1
szt commentedComment #2
Road Kill commentedHi having a problem with the Login Toboggan module when a user tries to register.
Anybody with ideas or a solution would be much appreciated
•Notice: Undefined variable: mailkey in logintoboggan_user_register_submit() (line 524 of /usr/www/users/shonghjazq/sites/all/modules/logintoboggan/logintoboggan.module).
•Notice: Undefined variable: text in _user_mail_text() (line 2770 of /usr/www/users/shonghjazq/modules/user/user.module).
•Notice: Undefined variable: text in _user_mail_text() (line 2770 of /usr/www/users/shonghjazq/modules/user/user.module).
•Unable to send e-mail. Contact the site administrator if the problem persists.
Notice: Undefined variable: mailkey in logintoboggan_user_register_submit() (line 525 of /usr/www/users/shonghjazq/sites/all/modules/logintoboggan/logintoboggan.module).
Comment #3
Road Kill commentedI am going to open my issue as a separate issue as I am not using the invites module.
http://drupal.org/node/1935070