I am not sure if this happens in all cases but I had this showing up in my dev server. May just need a !empty or isset() call around it.

Notice: Undefined index: confirmation_display in profile2_regpath_attach_profile_fields() (line 509 of sites/all/modules/profile2_regpath/profile2_regpath.module).

Comments

grasmash’s picture

Status: Active » Fixed

thanks! fixed and pushed to dev.

binabot’s picture

thanks very much ! fixed it !

just change :

// Attach custom confirmation message to form for later display.
if ($misc['confirmation_display']) {
$_SESSION['profile2_regpath']['confirmation_message'] = $misc['confirmation_message'];

to :

// Attach custom confirmation message to form for later display.
if (!empty($misc['confirmation_display'])) {
$_SESSION['profile2_regpath']['confirmation_message'] = $misc['confirmation_message'];

joelpittet’s picture

Well seems someone wants to take a direction there, I will go with it, here's the patch of LIJIAN code.

joelpittet’s picture

Status: Fixed » Needs review
joelpittet’s picture

Status: Needs review » Fixed

sorry, I should really read and so should LIJIAN, you already went with isset. Back to fixed!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.