• Resolved jonnonorton

    (@jonnonorton)


    I’m stuck in an endless loop with the password reset function. When I do a password reset it sends me an email that has the password reset link as expected. However when I click the link it says the link has expired. This occurs for all my users and I can’t seem to get any progress made. I have updated WordPress to the latest version and I’m using PHP vesion 7.4. Previously the email wouldn’t even send and it gave me a critical error on page, but once I updated WordPress that issue went away. Now I can’t get the link to work because it says it has expired even though I’m clicking it as soon as it arrives in my inbox which is only after 30 seconds or so waiting so it shouldn’t be expired.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter jonnonorton

    (@jonnonorton)

    This is the error I get on page when I click the link:
    Error: Your password reset link appears to be invalid. Please request a new link below.

    My email also has raw HTML formatting which looks very weird. I’m not sure why that is happening either.

    Email Text:

    Someone has requested a password reset for the following account:<br />
    <br />
    Site Name: Rocklin Historical Society<br />
    <br />
    Username: rocklinhistorical<br />
    <br />
    If this was a mistake, ignore this email and nothing will happen.<br />
    <br />
    To reset your password, visit the following address:<br />
    <br />
    <a href="REDACTED FOR MY SAFETY" rel="nofollow">ALSO REDACTED FOR MY SAFETY</a><br />
    <br />
    This password reset request originated from the IP address REDACTED FOR MY SAFETY.<br />

    I am having an issue with this as well. Temporary workaround is to bypass the TML reset password links :

    /wp-login.php?action=lostpassword

    If you make a lost password request from the default WP password reset , it will generate an email with a link to the default password set screen.

    Granted just not using the plugin isnt the best solution, but at least it works for now. Hoping the plugin author reads this and issues a fix quickly.

    Plugin Author Jeff Farthing

    (@jfarthing84)

    This is almost always due to server-side caching on your site. Ask your hosting provider to exclude all of TML’s paths from the cache.

    /login
    /logout
    /register
    /lostpassword
    /resetpass
    /dashboard
    /profile (If using Profiles extension)
    /activate (If using Moderation extension)

    Thread Starter jonnonorton

    (@jonnonorton)

    Thanks so much for your response Jeff I really appreciate it.

    I contacted my hosting provider to have them help me complete the steps mentioned however they said there is no server-side caching active on my website. Any other ideas?

    Here was their full response:
    I do not find server side caching on this server. To the best of my knowledge, it does not have a server side cache. Did the developers give you any other suggestions to try?

    Thread Starter jonnonorton

    (@jonnonorton)

    My hosting tech support had us turn on debug mode for the password reset link being sent over. Here are the errors being thrown in case it’s useful in any way.

    Deprecated: Function create_function() is deprecated in /home/rockli13/public_html/wp-content/plugins/floating-social-media-icon/function.php on line 1207
    
    Notice: Trying to access array offset on value of type bool in /home/rockli13/public_html/wp-content/plugins/postman-smtp/Postman/PostmanOAuthToken.php on line 45
    
    Notice: Trying to access array offset on value of type bool in /home/rockli13/public_html/wp-content/plugins/postman-smtp/Postman/PostmanOAuthToken.php on line 46
    
    Notice: Trying to access array offset on value of type bool in /home/rockli13/public_html/wp-content/plugins/postman-smtp/Postman/PostmanOAuthToken.php on line 47
    
    Notice: Trying to access array offset on value of type bool in /home/rockli13/public_html/wp-content/plugins/postman-smtp/Postman/PostmanOAuthToken.php on line 48
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/rockli13/public_html/wp-content/plugins/floating-social-media-icon/function.php:1207) in /home/rockli13/public_html/wp-content/plugins/theme-my-login/includes/actions.php on line 345
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/rockli13/public_html/wp-content/plugins/floating-social-media-icon/function.php:1207) in /home/rockli13/public_html/wp-includes/functions.php on line 6828
    
    Notice: Undefined index: login in /home/rockli13/public_html/wp-content/plugins/theme-my-login/includes/actions.php on line 695
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/rockli13/public_html/wp-content/plugins/floating-social-media-icon/function.php:1207) in /home/rockli13/public_html/wp-content/plugins/theme-my-login/includes/actions.php on line 696
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/rockli13/public_html/wp-content/plugins/floating-social-media-icon/function.php:1207) in /home/rockli13/public_html/wp-includes/pluggable.php on line 1355
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/rockli13/public_html/wp-content/plugins/floating-social-media-icon/function.php:1207) in /home/rockli13/public_html/wp-includes/pluggable.php on line 1358
    Plugin Author Jeff Farthing

    (@jfarthing84)

    Maybe try disabling other plugins besides TML and see if the issue persists.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Password Reset Link Invalid’ is closed to new replies.