While installing and configuring the reCAPTCHA extension, b2evolution 3.3.1 threw the following warnings in the configuration tab for the plugin:
Notice: Undefined index: note in ..../b2evolution/inc/plugins/_plugin.funcs.php on line 248
Looking at the code, I made the following two replacements:
case 'select':
$params['force_keys_as_values'] = true; // so that numeric keys get used as values! autoform_validate_param_value() checks for the keys only.
$Form->select_input_array( $input_name, $set_value, $parmeta['options'], $set_label, $parmeta['note'], $params );
break;
modified to:
...
$Form->select_input_array( $input_name, $set_value, $parmeta['options'], $set_label, $params['note'], $params );
...
Then, on line 90:
if( isset($parmeta['note']) )
{
$params['note'] = $parmeta['note'];
}
extended to:
...
else
{
$params['note'] = '';
}
Afterwards, the configuration did not throw any more warnings; there are apparently no undesirable side-effects so far.