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

szt’s picture

Version: 7.x-1.3 » 7.x-1.x-dev
Road Kill’s picture

Priority: Normal » Major

Hi 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).

Road Kill’s picture

I am going to open my issue as a separate issue as I am not using the invites module.
http://drupal.org/node/1935070