Hi @conducivedata
Could you please provide a screenshot of your Register form builder? Would like to see the fields added.
Regards,
Hi @conducivedata
Could you also tell me what’s the version of the PHP?
Regards,
I provided a workaround for the client, and they were happy with the fix and already disabled my admin access to the site, so I can’t get you a screenshot or the PHP version. But those things aren’t necessary anyway.
There’s a registration form with a Password field that has an empty Label. Line 2398 of class-fields.php, which is in a section of code that is used for outputting password and confirm password fields, tries to access $data[‘label’] without first verifying that the label exists. This generates the error message because there is no label set for the password field.
Now look at line 2378. You’re checking for a label before outputting said label–perfect! But you also need to check for the label before using it to output the placeholder for that confirm password input.
Thank you, I appreciate it. Sorry if I came across as rude.
I took a look at the updated code and have one suggestion that I should have mentioned previously:
Check for the Password field’s Placeholder instead of its Label when outputting the placeholder for the Confirm Password field.
That will result in a Confirm Password field that is consistent with the appearance of the Password field. If Password has a label, Confirm Password also gets a label. If Password has a placeholder, Confirm Password also gets a placeholder.