The password reset link still gives me an error

I have just u[dated to the latest version that indicates that this has been fixed and yet I still get the same error.

Sorry, we did not find a valid reset-key. Please request a new reset email and try again.

Request a new password-reset key

  • Vinod Dalvi
    • WP Unicorn

    Hi Brian,

    Sorry to hear of the problem you are having.

    I could confirm the issue on my test site using latest version of Membership 2 Pro plugin that the HTML code is displaying in the Reset password email as shown in the attached screenshot.

    I have notified the plugin developer about this issue so that it can be fixed.

    In the meanwhile you can fix the issue by editing the following Membership 2 Pro plugin file on line number 261 as displayed below.

    Membership 2 Pro plugin file :

    /membership/app/controller/class-ms-controller-dialog.php

    Before Editing :

    if ( $message && ! wp_mail( $user_email, wp_specialchars_decode( $title ), $message ) ) {

    After Editing :

    $headers = array('Content-Type: text/html; charset=UTF-8');
    if ( $message && ! wp_mail( $user_email, wp_specialchars_decode( $title ), $message, $headers ) ) {

    Alternatively you can just use the attached modified class-ms-controller-dialog.php file that contains the above change so just replace the above specified file with the attached file.

    Thanks,

    Vinod Dalvi

    [attachments are only viewable by logged-in members]