• The $_POST[‘Email’] variable seems to be empty – even though the form posts it.

    In /plugins/front-end-only-users/Functions/Process_Front_End_Forms.php where the following is done:

    if($Username_Is_Email == “Yes”) {
    $User = $wpdb -> get_row( $wpdb -> prepare( “SELECT * FROM $ewd_feup_user_table_name WHERE Username = ‘%s'”, $_POST[‘Email’] ) );

    $_POST is empty.

    I must be missing something – can you advise please?

    Thanks,
    Emmett

    https://wordpress.org/plugins/front-end-only-users/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter embryo100

    (@embryo100)

    Correction: $_POST is not empty; just $_POST[‘Email’] is.

    Thread Starter embryo100

    (@embryo100)

    I can change the code to fix this issue – but am not sure why it is not working by default?

    Any ideas?

    Thanks.

    Plugin Author Rustaurius

    (@rustaurius)

    Hi Embryo,

    Sorry that you’re having trouble and about the delay in replying. When looking at the form, is there a field labelled “Email”? Could you post a link to your site?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Forgotten Password not passing Email to reset function.’ is closed to new replies.