Tagged: lost password
May 19, 2016 at 9:52 pm #4531
The feature for the lost password is not working. We are running WP 4.5.2 and PR 2.0.21. The error says: “The e-mail could not be sent. Possible reason: Your host may have disabled the mail() function”. However, all other notifications are sent without issue so this is certainly not a hosting issue. I have seen others having this same issue so I am hoping there is a fix.
I enabled WP debugging mode as well and got this error after submitting on the lost PW page:
Notice: Undefined offset: 0 in C:\xampp\htdocs\epic_tours\wp-content\plugins\pie-register\classes\base.php on line 706May 23, 2016 at 11:30 pm #4535
I have found that in “forgot_password.php” if I replace line 128 with “$message = ‘Hello’;” it does send the mail. So that is where the error lies.
I certainly understand this is a free plugin but it would be great to get this fixed since it is such a common user task.May 24, 2016 at 3:31 pm #4536
Thanks for posting the issue.. we will definitely look into this and apply necessary fixes on our next release.
ThanksJune 21, 2016 at 9:45 pm #4584
Were you guys able to look into this issue? If so, is it remedied and when is your next release? It’s almost been a month and our Client’s users are still not able to use the Forgot Password feature. We’re in danger of losing this client if we can’t get it fixed. Please advise ASAP. Thank you.June 22, 2016 at 4:53 pm #4587
As mention on the previous comment, some users got it fixed by editing the forgot password file while many other got it fixed by having wp smtp plugin installed.
ThanksJune 22, 2016 at 6:28 pm #4588
Not sure what you mean by editing the lost password file? Also, all the other mail functions work for this plugin as well as others so why would we have to install WP SMTP just for the PIE lost password feature?June 23, 2016 at 3:40 pm #4589June 23, 2016 at 6:50 pm #4591
I am sorry I did not make that clear. I was only pointing out that if I replaced the reset message with hard-coded sample text it sends the mail. However, this does not “fix” the issue since we need the dynamic reset link, user name, etc. of course.
I was only pointing out that it has nothing to do with requiring SMTP and that the issue might be located in the “classes/base.php” file, specifically within the function “filterEmail()”. Thanks!
June 24, 2016 at 4:10 pm #4593
- This reply was modified 2 years, 4 months ago by Randy Federighi.
Ok I got your point, but since we are not able to produce this error on our SERVERS, it would be really difficult to investigate the problem.. There could be different factors involved in producing this error including server configuration. However we would be more happy to help you fix the issue. Do you have a DEV environment on your server where we can reproduce the problem?
Please let us know, you can reach to us with credentials via contact form.
MohsinJuly 14, 2016 at 8:15 pm #4612
Hi Mohsin,Randy works with us as our WP developer. We had some back and forth with him and wanted to include our e-mails here, as per his testing it shouldn’t have anything to do with our servers or our server configs. Also, all other e-mail is working except for Forgot Password, so shouldn’t have anything to do with the SMTP settings or anything like that. Hopefully this thread between us might provide more details into the issue we’re having across all of the Tours we’ve set up for clients:From Me: So it looks like it is an issue across all tours (attached). So where is the error message, “”Possible reason: your host may have disabled the mail () function””, being generated from, do you know? Is that something I can have HM look into?From Randy: See, that is really not the issue and the misleading thing about that message. I know exactly where that message is generated in the code since I tracked all this already. It is just a very basic “”it didn’t work”” type of message. The main issue is when you try to reset the password, it tries to generate a temporary reset link and then drop that into the email that gets sent to the user for resetting their password. You have seen these before I am sure. They are a very long series of numbers and letters as a temporary (24 hour usually) code that allows you to follow that link to unlock your profile. Something along the way of dynamically assembling this email is getting messed up and the message comes back empty. NO MAIL function would ever work if there as no message data. (That is not just in PIE Register, this is for any type of email message used in the mail function.) Again, if there were an issue with your hosting then none of the email notifications would work across the board. We already know this is not the case. Additionally, when I replace the message (as in “”hard code a random message”” for testing) there is no error. However, this only proves the issue is not the server. I still need all kinds of dynamic information to attach to that email. Mainly the reset URL!From Randy: I just tested the lost password feature on the main parent site and it worked. That is, of course, using WordPress default methods, not the PIE plugin. Does any of this information help you get to the bottom of it by chance? Thanks Mohsin.
You must be logged in to reply to this topic.