When trying to create a new account, I get this error.

Notice: Undefined index: op in email_verify_edit_validate() (line 122 of /var/www/drupal7/web/sites/all/modules/contrib/email_verify/email_verify.module).

Comments

joncup created an issue. See original summary.

oadaeh’s picture

Version: 7.x-2.0-rc1 » 7.x-1.x-dev

I'm not sure how you can be getting into that function without 'op' being set, but you could try changing line 122 from

  if (!user_access('bypass email verification') && $form_state['values']['op'] != t('Cancel account')) {

to

  if (!user_access('bypass email verification') && isset($form_state['values']['op']) && $form_state['values']['op'] != t('Cancel account')) {

That would eliminate the error, but the email address would probably not be checked.

Also, I'm not sure which version you're actually using, but its not in the 2.x branch. It's somewhere in the 1.x branch.

oadaeh’s picture

Status: Active » Postponed (maintainer needs more info)