There’s a mind-boggling number of ways for the "lost your password" feature of WooCommerce to break, so I compiled a list of fixes. There’s several steps in the reset process, so just skip to the one that’s causing problems:
Problems on step #1, opening the “lost your password” link
Recognizing other plugins overriding the login URL
If the page says "Lost your password?" at the top, it’s probably the WooCommerce version. If it doesn’t, another plugin might be overriding WooCommerce. That’s not necessarily a bad thing, but if anything breaks later in the password reset process, it’s worth checking two things that might be preventing WooCommerce’s login page from coming up:
1) Is WooCommerce’s password reset page disabled?
Check that you’re on the default WooCommerce settings to make sure WooCommerce isn’t disabling its special account management page in favor of the version provided by WordPress or another plugin.
2) Is another plugin overriding the lost password URL setting?
It’s easiest to identify the offending plugin if you’re comfortable with PHP: on a default install, a var_dump($wp_filter['lostpassword_url']);
will have wc_lostpassword_url
as the only hook. If you’re not comfortable with PHP, try temporarily disabling the plugins/services in the common-conflicts section to see if the WooCommerce login page is restored.
Page can’t be found (404) error
To fix this, first look at the URL that the browser is trying to bring up:
Is the URL something other than www.yourstore.com/my-account/lost-password?
If so, the lost password page has probably been changed from WooCommerce’s default. To find the source of the change:
- Does the URL contain the word "trashed"? This suggests that your My account page (or a custom page that WooCommerce is set to use) has been thrown in the trash. You can try restoring it from the WordPress admin
Pages
area under theTrash
link. If you don’t see the link, or the page doesn’t show up in the list, you can follow the steps in the ensuring the My Account page section. - Does the URL contain a
page_id
parameter (when your normal pages don’t)? Similar to point #1 above, WooCommerce may be configured to use a page for itsMy account page
setting that isn’t published yet. Editing the page and hittingPublish
will probably solve this problem. - Does the URL start with a valid page URL for your site? Similar to the above points, the page at that URL may be set to private or password-protected. Changing the page visibility will probably fix this issue.
- Is the URL missing the
my-account
part (e.g.www.yourstore.com/lost-password
)? This is usually due to the WooCommerce my account page being completely deleted. Just follow the last step in the ensuring the My Account page section to recreate it. - Is the domain name (
www.yourstore.com
part of the URL) incorrect? That’s often a sign there’s a hard-coded link somewhere. To find and fix this, check the contents of the page/menu the link is on, or in the settings for your theme or any plugins that customize URLs. - Is the
/my-account/lost-password
part of the URL translated into another language? Check for translation/localization plugins that might be localizing URLs. It’s also possible a caching plugin or service is incorrectly caching localized pages for all users. To troubleshoot that, see the caching section. - Otherwise: check the above section to see if another plugin might be changing the password reset URL, and the WooCommerce settings section to see if the default URL has been changed.
If the URL in the browser looks correct:
Check for plugins and services in the common-conflicts section that might be interfering with the page loading, particularly login/registration customizers, translation/localization (especially WooCommerce Multilingual) plugins, caching plugins/services, and URL-rewriters.
A login page comes up instead of the reset form
Check for security/anti-spam/CAPTCHA plugins that might be erroneously trying to protect the page, and try disabling them or altering the settings until the reset form is fixed. WPBruiser is one example that has caused this problem.
Problems on step #2, the page for entering the username/email:
Blank/empty password reset page
The most common cause of this problem is the WooCommerce My account page
setting being set to a page that doesn’t have the correct shortcode. See the ensuring a valid My Account page section for details on fixing that.
If the URL for the page is something other than www.yourstore.com/my-account/lost-password
, check this section to see if another plugin might be incorrectly providing its own page content.
If the URL looks correct, you may want to check for plugin conflicts:
- iThemes Security: it’s worth trying to turn off these filter options in
System Tweaks
to see if the problem is fixed:Suspicious Query Strings
Non-English Characters
Long URL Strings
- Security plugins in general (such as iThemes Security or WordFence) may be worth disabling entirely for a moment to see if the problem is fixed.
- Caching plugins or caching services can be temporarily disabled to see if the problem is fixed. If they are the source of the problem, setting them to exclude URLs starting with
/my-account/
from caching should fix the problem. See the caching section for more details. - If none of these help, trying to temporarily disable all the plugin types in the commonly-conflicting plugins list may reveal the cause of the problem.
Page looping/reloading when submitted
If the page just reloads without any messages when submitted, it’s very likely that some kind of caching plugin/service is causing the problem. So the first step is to review the caching section.
If that doesn’t work, I’d suggest looking into security plugins and services next, ensuring they’re set to exclude the /my-account/
path from any protection that might interfere with forms being submitted to your site, or user accounts being changed.
After that, I’d suggest temporarily disabling any login-customizing or CAPTCHA plugins to see if they’re the source of the problem. They may be overriding or trying to protect the WooCommerce account management pages.
If you find specific plugin/service settings that fix this problem for you, please let me know in the comments so I can add them to the page.
“Invalid username or email” error message
First, the obvious: is the username or e-mail correct (no unusual characters/whitespace, accidental character substitutions, etc.)? Is it a login to a different site, or to an account on WordPress.org or WordPress.com instead of your site?
Second, do you have security plugins like iThemes Security or WordFence enabled? They may be trying to intercept password resets perceived as invalid.
Third, are you running Multisite, and using a username/email that’s not local to this site? That can cause this error message.
“Password reset is not allowed for this user” error message
This error can have several causes:
1) Are you using Multisite?
If Multisite has labeled the user as spammy, they’ll get this error. I’m not sure if there’s a GUI or plugin way to see if the user is considered spammy, but if you have access to your database (through phpMyAdmin or similar), see if the spam
column on wp_users
is set to something other than 0 for the user you’re testing with.
2) Do you use the Manage Notification Emails plugin?
Under the WordPress admin, open Settings
> Notification emails
, make sure the Password forgotten e-mail to user
check box is checked. You probably also want the Password change notification to user
and Password forgotten e-mail to administrator
check boxes checked.
3) Do you use No CAPTCHA reCAPTCHA for WooCommerce?
If you’re on version 1.2.4 or older, try updating to the latest version. If that doesn’t work, it still might be worth temporarily disabling the plugin to see if the problem goes away.
4) Other causes
If you’re comfortable with PHP, a var_dump($wp_filter['allow_password_reset']);
may reveal a hook for a plugin that’s denying access to reset the password. With a plain WooCommerce-only install, there shouldn’t be any hooks on this.
If you’re not comfortable with PHP, try disabling plugins one by one to see if any of them are the culprit, particularly security, single sign-on, and login/registration customization plugins.
“The e-mail could not be sent. Possible reason: your host may have disabled the mail() function” error message
This is a problem that can usually be fixed on your host’s end, but I’d suggest switching to a dedicated SMTP provider as mentioned in WooCommerce support. This will usually help the delivery of all your store’s email, including reducing how often it ends up in people’s junk/spam folders.
However, if you’d just like to fix the error message, here’s a few suggestions. You can either apply these yourself if you have access, or send them to your host if they’re initially unable to solve the problem for you:
- On any platform:
- Check that php.ini doesn’t include
mail
indisable_function
. - Check that a mail program is specified in php.ini’s
sendmail_path
, and is installed and configured correctly. - Make sure there isn’t an entry in the hosts file that’s directing mail for the domain to the local server instead of doing an actual DNS lookup for the MX records, and that the mail server is configured for "remote" delivery.
- Check that the SMTP port isn’t blocked on the server’s firewall or the host’s network.
- Check that php.ini doesn’t include
- On cPanel: try adding the sender email address to Trusted mail users.
- On SELinux: try running
setsebool -P httpd_can_sendmail=1
Problems on step #3, the reset email:
Reset email not sending
First, double-check that the mail isn’t turned off in the WooCommerce settings: in the WordPress admin, open WooCommerce
, Settings
, Emails
, and click Manage
next to Reset password
. Make sure Enable this email notification
is checked.
Second, it’s worth identifying where in the chain the mail-sending failed:
- Did the password reset page display its success message ("Password reset email has been sent")? If it just shows the initial form again, check the section about the page looping.
- Did WordPress successfully pass off the email for delivery? You can check this with the WP Mail Logging plugin. If it doesn’t show any mail in its log after you trigger a password reset, check the commonly-conflicting plugins section for things that might be interfering, particularly security and login-customization plugins.
- Is any email (user registration, contact forms, etc.) from your site being sent? If not, you may need to contact the host to see if they’ve disabled outgoing mail or are firewalling it.
- If none of the above steps seem to apply in your case, the mail might be being blocked as junk/spam even if it doesn’t end up in the recipients junk/spam folder. To troubleshoot that, continue reading the next section.
Reset email in junk/spam folder
You can try creating a test account on your store using an address provided by the Mail Tester site. It will tell you of problems it finds with mail sent to it, including specific suggestions for keeping your mail out of junk/spam folders.
If you get a low score with Mail Tester, and you haven’t specifically configured an SMTP service in your WordPress install, doing so will usually help a lot. You can either use a dedicated SMTP provider (usually free if you don’t send a lot of email), or use an SMTP plugin like WP Mail SMTP to connect your site to an existing mail server (like Gmail). In either case, make sure the mail provider is configured under the same domain name you have set for the email on WooCommerce
, Settings
, Emails
, "From" address
.
You can also manually check common spam blocklists to see if your mail server is on them and contest any entries if so.
There are some additional steps to optimizing email deliverability that I’ll write about in the future.
Incorrect text/formatting
To fix the text or formatting of the reset email, I’d suggest checking three common sources of problems:
- Make sure there’s no mail-customizing plugins you’ve forgotten about that might be interfering.
- Make sure there’s no localization/translation plugins that might be interfering.
- Check whether there’s been any customizations of the email template files. If you find customizations, open the customized files and check whether they’re the source of the incorrect text or formatting.
Problems on step #4, the page for setting the password:
Page can’t be found (404) error
Does the URL in the email look like WooCommerce’s default yourstore.com/my-account/lost-password/?key=SomeRandomAlphanumericCharacters&id=123
format? If not:
- Are there any email-customizing plugins installed? You may want to check their settings or temporarily disable them to see if they’re altering the link.
- Have the WooCommerce emails been customized? You can check the email overrides section, and if the password reset file has been customized, check whether the URL has been properly constructed and escaped.
Even if the URL looks like it’s in the correct format, try temporarily disabling security and caching plugins/services to see if they’re protecting or misinterpreting the password recovery page.
"This site can’t be reached" error
If you get an error like “server IP address could not be found”, “we’re having trouble finding that site”, or “we can’t connect to the server”, or “we can’t reach this page”, it’s most-commonly due to click-tracking (sometimes called “link tracking”) in your email provider. Email providers often use an alternate subdomain (along the lines of email-click.mail-mechanic.com
) that logs which links your recipients click on and then redirects them to the original link. But if that subdomain isn’t configured correctly, the recipient’s browser won’t be able to load the click-tracking page at all. To fix that, you can either disable click-tracking on the email provider, or fix the subdomain they use. Here’s how to disable click-tracking on some of the common providers:
- Amazon SES: on your Configuration Sets page, find your event destination and deselect
Clicks
underEvent types
. - Mailchimp: I haven’t seen this problem occur with Mailchimp because of their use of their own list-manage.com domain in place of your site’s domain. But if you’d like to disable click-tracking to troubleshoot, it’s in the
Campaign Builder
underSettings & Tracking
. - MailGun: you can disable click tracking in the
Tracking Settings
section of a domain’s settings page. - SendGrid: disable tracking under
Settings
,Tracking
,Click Tracking
.
“This key is invalid or has already been used” error message
- Plugin bugs: check for outdated versions of WP User Frontend (pre v3.1.1) and No CAPTCHA reCAPTCHA (pre v1.2.2) and update them to the latest version.
- Outdated/duplicate email: is the email old or sent multiple times? This error can be caused by opening a link from an email after there’s been a more-recent reset attempt, or if the email has expired. That expiration is 24 hours by default, but it might be changed to a lower setting by other plugins. If you’re comfortable with PHP, you can check for plugins changing the expiration by doing a
var_dump
onpassword_reset_expiration
. - Broken link formatting: if the URL in the email includes an
&
instead of an&
, check the above section for email customizations.
“Your password reset link appears to be invalid” error message
This is a default error provided by the WordPress reset system rather than the WooCommerce one. It suggests that the WooCommerce lost-password system isn’t being used. If that’s not an intentional choice on your part, see the first section. If it is an intentional choice, check for login-customizing plugins (particularly Theme My Login), CAPTCHA plugins, and caching plugins/services. Temporarily disabling those may reveal the source of the problem.
“Your password reset link has expired.” error message
This is another default error provided by the WordPress reset system rather than the WooCommerce one. It suggests that the WooCommerce lost-password system isn’t being used. If that’s not an intentional choice on your part, see the first section. If it is an intentional choice, and you’re comfortable with PHP, try doing a var_dump($wp_filter['password_reset_expiration']);
to check for plugins that are changing the reset expiration to too short a time.
Stuck in a loop: the lost password reset page just shows back up
Fixing this usually involves one of three causes:1. Caching: this problem is most commonly caused by caching plugins/services, so see the caching section if you’re using any.
2. Cookies: this problem can also occur if cookies aren’t provided, specifically one starting with wp-resetpass
. That can inadvertently happen if a caching service (including the one used with WP Engine) is caching the same page without regarding that cookie, so it’s worth reviewing the caching section first. After that, check whether any security software or plugins might be blocking that cookie or protecting the reset page. Finally, check whether the browser settings, browser add-ons, or desktop security/privacy software might be blocking cookies for your site.
3. Broken URLs: in the URL in the email, the end should look similar to key=iBj6pgVn7Rj48Xtv6MO6&id=123
. The key should only have alphanumeric characters, no special characters or spaces. The "&
" should be just that, not "&
". The id should be numeric. If any of those things are not true, check if there’s been any customizations to the WooCommerce email templates, plugins that might modify the login process (like security or login-changing plugins), or the use of SendGrid’s click-tracking (this can be turned off in your SendGrid account under Settings
, Tracking
, Click Tracking
).
The “My Account” page comes up in place of the reset page
This is probably due to you already being logged into an account when the reset link is opened. Try doing the reset process in an incognito/private-browsing window so that the site will treat you as a “new” visitor who isn’t logged in.
The home page comes up after submitting the reset
This is probably due to you already being logged into an account when the reset link is opened. Try doing the reset process in an incognito/private-browsing window so that the site will treat you as a “new” visitor who isn’t logged in.
General troubleshooting:
Commonly-conflicting plugins/services
If you’re having problems with the password-reset, I’d suggest scrutinizing (and test-disabling) these types of plugins/services in roughly this order:
- Caching plugins (WP Super Cache, W3 Total Cache, etc.)
- Caching services on your host (Varnish, Squid, etc.)
- External caching/CDN services (Cloudflare, CloudFront, etc.)
- Login/registration customizers (Pie Register, LoginPress, Theme My Login, Login With Ajax, Custom Login Page Customizer, etc.)
- Login-securing/CAPTCHA plugins (Loginizer, Login No Captcha reCAPTCHA, etc.)
- WooCommerce My Account page customizers (YITH Customize My Account Page, Custom My Account, etc.)
- General security plugins (Wordfence, iThemes Security, etc.)
- URL rewriting/redirecting plugins (Redirection, Simple 301 Redirects, etc.)
- URL rewriting in your web server (Apache .htaccess RewriteRules, NGINX return/rewrite directives, etc.)
- Localization/text-customizing plugins that are configured to alter URLs or search-and-replace text output (WooCommerce Multilingual, WPML, etc.)
If you find a plugin/service at fault, they’ll often have a setting you can disable for more compatibility with WooCommerce, such as excluding URLs that start with /my-account/
. They may also have updates available to fix WooCommerce compatibility if you’re not on the latest version. If they don’t, you may have to contact their support.
Don’t let caching break your store
The most frequent cause of password reset problems (and a lot of other WooCommerce problems!) are caching plugins and services that aren’t aware of the way WooCommerce needs its pages handled.
To troubleshoot this, I’d suggest two steps:
Step 1) Identify which caching plugin/service is causing problems
I’d suggest temporarily disabling all of the following, and if the problem goes away, enable them one-by-one until the problem returns:
- Caching plugins (WP Super Cache, W3 Total Cache, etc.)
- Caching services on your host (hosts like Flywheel, Cloudways, SiteGround, and WP Engine provide a caching layer, often powered behind the scenes by Varnish, NGINX, or Squid)
- External caching/CDN/security services (Cloudflare, CloudFront, MaxCDN, Fastly, Akamai, Sucuri, etc.)
Step 2) Configuring the offending plugin/service to avoid caching
The goal is to exclude URLs that start with the following paths (I’m including ones that are useful to exclude for other WooCommerce features):
/my-account/
/cart
/checkout
/addons
/?add-to-cart
/?wc-api
Doing so will vary based on the plugin/service being used, but here’s a few links for specific plugins/services:
- WP Total Cache
- Varnish
- WP Engine (the writeup doesn’t currently describe all of the necessary exclusions to fix password-reset problems, but it’s a good starting point before contacting their support with the list of URLs above)
- Cloudflare’s cache exclusions are done using their page rules, but be aware the free plan only allows 3 rules.
The default WooCommerce account management settings
To make sure WooCommerce’s account management settings haven’t been accidentally changed, open the WordPress admin and click WooCommerce
, Settings
, Advanced
. Check both of the following settings, either one can cause a different lost password page to appear:
- Under
Page setup
, make sure theMy account page
drop down has a page selected. By default it’s set to the WooCommerceMy account
page. If it’s set to a custom page (or if you’ve customized the default page), make sure everything in the next section is correct. - Under
Account endpoints
, make sure theLost password
field has a value (the default islost-password
). If it’s blank, the default WordPress password reset (or one provided by another plugin) will be used.
Ensuring a valid My Account page
In the WordPress admin, the page under WooCommerce
, Settings
, Advanced
, My account page
needs to meet several criteria to work properly:
- It needs to exist. If the drop down just says "Select a page…", it needs to be set to a page. Either select the default
My account
page, or recreate it (see #3 below) - It needs to be public, not scheduled for the future, and not in the trash. From the WordPress admin, select the
Pages
section. TheMy account
page (or your custom version) needs to be in thePublished
section, not in theScheduled
orTrash
section. If it’s scheduled, change the date to a date in the past, and if it’s in the trash, click theRestore
button underneath it. - It needs to include the
[woocommerce_my_account]
shortcode in the page content. You can either enter that directly in a non-Gutenberg post, or in a Shortcode block in a Gutenberg post. If you’ve created a fresh page to do that, make sure to assign it to theMy account page
in the WooCommerce settings. You can also have WooCommerce recreate its default pages by going to the WordPress admin and clickingWooCommerce
>Status
>Tools
>Create default WooCommerce pages
.
Email override gotchas
To check whether the WooCommerce’s emails have been overridden, go to the WordPress admin, WooCommerce
, Status
, and scroll down to Templates
, and look at the Overrides
field. If it’s empty, nothing’s been changed/overridden. But if customer-reset-password.php
is in the list, the reset password email template has been overridden, possibly with contents that are causing your problem. You can either edit that file to fix the problem, or if it’s listed as "out of date", you can try updating it.
You’ve somehow miraculously read all the way to the end!
As a reward, here are 3 randomly-generated emojis that will surely tell a compelling story:
Another simple thing to check when you are being shown a login page instead of a lost password page is that the lost password url is correct. My theme was setting it to my_account/?action=lostpassword when it should have been my_account/lost_password. Hope this helps somebody.
Thanks James! I’m behind on updating the site, but I’ll come up with a way to include that in the troubleshooting flow.
James, I do have this exact issue. Any ideas on a quick fix? BuddyBoss is showing as overriding the lost-password theme, but they are denying this is happening, despite the template override page saying otherwise.
Hi David, I’m also experiencing issues with my users not being able to login/reset password. I thought/think that might still be related to maybe corrupting contacts during the import. But I noticed you mentioned BuddyBoss, that’s what we are using. The issues we are facing is user try to create/reset a password and it keeps on a loop, it might take 2-3 attempts to actually work. Then, when they go to their account to create a more friendly password it doesn’t work. Also sometimes they can’t login with email address, it says email doesn’t exist even though it does, and then username works. I had some users that the only way was to remove their user and add again in order to work. Have you experienced similar? And most importantly, were you able to get it fixed?
A good one is when an idiot designer (uh me!) manages to style the WooCommerce emails using the built in tool so that accidently links come out as white on white, and disappear from the reset email, while everything else is fine. Moving the mouse over the blank area in the mail can locate the link but this isn’t a very fiendly approach!
That made me laugh, I think we’ve all had a similarly-obscure problem like that at some point.
I’m having that problem, but I’m not away I did anything to make the white on white thing occur. How do I fix it?
Hey Valerie, I’d overlooked your comment, were you still having problems? I’d at least check the email color settings in WP Admin -> WooCommerce -> Settings -> Emails first. If that looks fine, I’d look at any email template customizations or email plugins.
Another thing to note on this stupid password problem. Divi Engine plugins will cause this error too occasionally. I fixed it on mine by just disabling their forgot password layout replacement and it worked just fine.
Thanks Nathan, that’s good to know! I’ll update the article to mention that.
The plugin, Pie Register, will override the WooCommerce forgot password setting. I think you may add this to your article.
Will do, thanks Keith!
Thanks for great article. The reset password email isn’t sending. I get the following error message in my WP Mail STMP plugin:
EMAIL DELIVERY ERROR: the plugin WP Mail SMTP v2.1.1 logged this error during the last time it tried to send an email:
Mailer: Other SMTP
SMTP Error: Could not authenticate.
Please review your WP Mail SMTP settings in plugin admin area. Consider running an email test after fixing it.
I do a test email and that all works fine. Checked all the other settings re emails, pages etc and all seem ok, any ideas?
Hey Vicki, I’m quite late in replying, so you’ve probably already figured out the issue. But if not, one thing comes to mind: are your email test and the password reset going to the same email address? If not, I wonder if the password reset is going to an external domain, and the SMTP server is set up to only require authentication for non-local domains.
Hi Everyone, First of all Thanks a lot Dan for putting together all the great suggestions. And thanks goes to all all contributors also. I have gone through above all. My issue is bit different. Partially it works only for email address belongs to my domain but not for other emails such as gmail or yahoo or any other. Any help will be highly appreciated. My business is hampering a lot. I am novice to website design. I have created this site using WoodMart theme and used Woocommerce plugin. Here is my scenario.
None of my user can reset their password nor they can register. However, system says that email is sent but no email is received at user end. Here are the following scenario
From backend, I created an user with an email address (abcd@mydomain.se and also with gmail address) and in both cases received email to change the password and could change the password and successfully logged in.
But Following doesn’t work.
From FrontEnd, when I register with abcd@mydomain.se, I get email with generated password. but when I register with gmail address or yahoo address or any other then I get no email with generated password. Moreover, if I click on “Lost your Password” for gmail address or yahoo address, get no email to reset the password, but get it for abcd@mydomain.se
I really need help. Please help.
Thanks
Hi Rainy,
The symptom where only local-to-your-own-domain mail goes through is usually fixed by setting up an external SMTP mail delivery service instead of using the web host to deliver mail. You do that by installing an SMTP plugin (such as Post SMTP or WP Mail SMTP) and connecting it to a mail service. I have a list of those services (https://www.mail-mechanic.com/dedicated-smtp-providers), or you can usually connect your existing mail service (Gmail and such) as well.
You might also be able to talk to your host about whether they’re allowing external email. But it’s usually worth the trouble of using a “real” mail provider: the host-provided ones are usually more likely to end up in spam folders. Both because of how they’re configured, and because they’re more frequently used by other customers on the same host for spam-sending.
To Add, I have used earlier Super Socializer Plugin now turned it off and deleted. Currently, I have google login function through Woocommerce=>Socail Login. I have turned off most of the plug-ins but no joy.
Hi All, I don’t see my earlier long comment anymore. So I write again. Thanks everyone for their contributions so far. I have tried above all but no joy. None of my user can use Register or Reset Password functionality. But but but, users with email address from my domain can. So an user abcd@mydomain.com receives appropriate email to move forward while user Register/Reset Password. But no other email addresses from other domain receives appropriate email. So, they can’t do much apart from doing business without logging. None of my user likes it, so loosing business. 🙁
I have used Super Socializer earlier, now removed it. Currently using google login thru Woodmart Theme Setting=>Login/Register=>Google API
PLEASE HELP
in my case, after entering a new password and hit submit it say’s ‘password do not match ‘. does anybody know why this is happening? https://prnt.sc/13fjmz1
Hi Abdulla,
Sorry for the late reply. I checked the code behind the password-match-checking, and it looks pretty straightforward (basically just checking the values sent in the form). If you’re confident the passwords do match, I suspect it’s some kind of plugin conflict.
Dan
Thanks for the great writeup Dan. You’ve created an awesome resource.
Have you run into a case where the password reset link redirects correctly (to: /my-account/lost-password/?show-reset-form=true), but for some reason a hanging “&action” gets appended to the URL?
This gives me a blank white page, but if I manually remove the trailing “&action” from the URL, then the page loads as expected and prompts me to enter the new password.
Hey Mike,
You’ve probably sorted out the issue by now, but do you also notice a hanging &action value in the link prior to the redirect? That’d help split the problem in half: you either know it’s being added in the email step (making it worth investigating whether the templates have been customized or altered by hooks), or somewhere during the redirect_reset_password_link process.
Dan
Woocommerce reset password issue. I entered mail id for reset my password. after clicking on RESET PASSWORD button ” There has been a critical error on this website.” this error message appears.
Kindly help!
Hi Deepak, it’s probably easiest to find (or enable if necessary) the error logs for your site, they should have a more specific error message.
Thanks for the great list, Dan!
It seems that Woocommerce does not fully work with WPMU: https://wpmudev.com/forums/topic/woocommerce-lost-password-option-is-not-working-with-the-mapped-domain/
Removing that is not really an option, so for me the search has ended here. 😖
Hi, I am having problems with my password reset email in our woocommerce site.
This is the scenario:
1. At XXXXmy-account/lost-password/, the user would enter his email and click “Reset Pasword”
2. The user will receive an email with the proper subject, but the email is empty
Appreciate any help
Hey Michael,
I’d check a couple things for clues, assuming other emails are going out from the site ok.
1. Checking for any PHP errors in your server error log that might imply some problem with generating the email body.
2. Checking the raw message source (varies by the mail client) to see if the message body is being sent, but is malformed in some way making it not display.
Hi I have a different issue with password reset,
I am getting “This key is invalid or has already been used. Please reset your password again if needed” when I try testing the password,
My website is WordPress multisite – with WooCommerce, with one subsite. I am having an issue with the password rest. When my customers reset their password, it keeps giving an error “This key is invalid or has already been used. Please reset your password again if needed.”.
I deactivated all plugins still same issue remains. When I disable the MultiSite on the Config file, the password rest works again. I have no clue what is going on and how to fix this.
Please help if you have any solutions for this.
I appreciate your information but you missed one vital detail i’m using the WP SMTP plugin and when I send a password reset menu using TLS on port 573 on my settings in that plug in (using the managed wordpress plan on go daddy dot com )it takes two minutes to receive the password reset email on Google for example or most other big websites when you get a password reset email sent you you get it right away the second you actually get to your mailbox to check it it’s already done so if you could give like a tutorial on that then you would really be helping people out see I’m not sure if I should be using WP SMTP or if I should use the WP MAIL SMTP plugin that offers options like Google or Amazon……………..IS that sort of thing is that’s what’s done in professional environments is to use a service like that if so can you give information for beginners to get this set up because I know at the very least Google needs 4 to 6 weeks to verify my account and I kinda need to take it live like right now… If you give any information can you supply like actual video tutorial links or web tutorial links that you’ve tested I would really appreciate it