Password reset form invalid argument?
-
I have set up the wp members plugin and everything works like a charm, except for the forgot password form.
It displays the following:
Warning: Invalid argument supplied for foreach() in /home/beheerpaneel/public_html/wp-content/plugins/wp-members/inc/forms.php on line 379
I can see the form header, the submit button and the forgot username link, but the form is nowhere to be found.
This is the part of the code it’s referencing:
// Put the rows from the array into $form. $form = ''; foreach ( $rows as $row_item ) { $row = ( $row_item['row_before'] != '' ) ? $row_item['row_before'] . $args['n'] . $row_item['label'] . $args['n'] : $row_item['label'] . $args['n']; $row .= ( $row_item['field_before'] != '' ) ? $row_item['field_before'] . $args['n'] . $args['t'] . $row_item['field'] . $args['n'] . $row_item['field_after'] . $args['n'] : $row_item['field'] . $args['n']; $row .= ( $row_item['row_after'] != '' ) ? $row_item['row_after'] . $args['n'] : ''; $form.= $row; }and line 379 specifically is:
foreach ( $rows as $row_item ) {Can anyone help please?
Page: http://www.actiecollectief.com/wachtwoord-herstellen/?a=pwdreset
The topic ‘Password reset form invalid argument?’ is closed to new replies.