• Resolved emangham

    (@emangham)


    Hello,

    When I display the “Recover Password” form it displays the following error:

    Notice: Undefined variable: password_email_sent in /app/public/wp-content/plugins/profile-builder/front-end/recover.php on line

    I am displaying the shortcode via:
    <?php echo do_shortcode( '[wppb-recover-password]' ); ?>

    The form does show. But we can’t have any errors.

    Any help/fix is appreciated. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there @emangham

    Are you getting the same error if you just have a page with the [wppb-recover-password] shortcode?

    Please do this test.

    Thanks,
    Gabriel

    Thread Starter emangham

    (@emangham)

    Hi Gabriel,

    Thanks for getting back to me so promptly.

    I have just tested outputting it via the_content() and this appears to display the exact same issue.

    I just noticed I didn’t include the line where the error is found within the plugin – this is line 410.

    Notice: Undefined variable: password_email_sent in /app/public/wp-content/plugins/profile-builder/front-end/recover.php on line 410

    Any suggestions or potential fix?

    Thank you and indest regards,
    Elliott

    Hi Elliott,

    I remember now.

    Most likely you are using an older version.

    This is a known problem that has already been fixed.

    Please update to the latest version and the problem will most likely be gone.

    Best of regards,
    Gabriel

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Undefined variable when displaying “Recover Password” form’ is closed to new replies.