In CiviCRM I set up an event including registration but when I select the option to allow a user to register for the event and at the same time as a Drupal user, after you continue from the event confirmation page instead of going to the Thank You page it shows the entry page containing just a name/password box and a weird error saying 'Please enter your email'.
I have had my consultant take a look at it and he says "Checked the Drupal permissions - look fine, Checked some email settings - look fine, Turned on Drupal error reporting and completed the form again. Now got the message 'Notice: Undefined index: email-Primary in CRM_Utils_System_Drupal->createUser() ' http://bdva.s803.sureserver.com/admin/reports/event/11578'
We have done a few searches but not found anything on this error and for the time being we have now turned off create Drupal user in all profiles attached to event registration.
What should we do to create Drupal users and show the Thank you pages on Event signups?