Getting the following error on /user for non-logged in users:
Notice: Undefined offset: 1 in redhen_contact_form_user_register_form_alter() (line 1038 of /Users/isovera/projects/accjh/accjhd7/docroot/profiles/redhen_demo/modules/contrib/redhen/modules/redhen_contact/redhen_contact.module). when visiting /user as an anonymous user.

To recreate this issue:

  • Enable RedHen Contact Module
  • Enable Create Contact on Registration option
  • Log out and view /user as an anonymous user

This is pretty simple fix, the code is just assuming that there are at least two layers to the path where the form is embedded, the issue is that the form can be embedded at any path.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

christophersmith262 created an issue. See original summary.

christophersmith262’s picture

Issue summary: View changes
christophersmith262’s picture

christophersmith262’s picture

Issue summary: View changes
Status: Active » Needs review
levelos’s picture

Status: Needs review » Postponed (maintainer needs more info)

Thanks @christophersmith262, although I can't recreate. Can you provide any more insight as to your setup?