Osclass Support Forums

Osclass theme support => Veronika Osclass Responsive Theme => Topic started by: brsdid on April 15, 2021, 06:05:45 PM

Title: User password recovery
Post by: brsdid on April 15, 2021, 06:05:45 PM

Hello, I have a problem when a user uses the option to recover his password, he does not receive an e-mail, my server works, everything is done properly, but he does not receive an e-mail.
I get this error
[15-Apr-2021 18:55:57 Europe/Sofia] PHP Warning:  current() expects parameter 1 to be array, null given in /home/******/public_html/oc-includes/osclass/emails.php on line 366
Title: Re: User password recovery
Post by: MB Themes on April 15, 2021, 07:12:39 PM
It looks like you are missing email template for this action.
Title: Re: User password recovery
Post by: brsdid on April 15, 2021, 07:35:51 PM
how to add this template
Title: Re: User password recovery
Post by: MB Themes on April 15, 2021, 07:39:52 PM
That can be done on database level only
Title: Re: User password recovery
Post by: brsdid on April 15, 2021, 07:43:01 PM
okay can you help me or give me some instruction to read about that
Title: Re: User password recovery
Post by: brsdid on April 15, 2021, 08:16:34 PM
Okay i  manage to do it by my own

I post the solution if someone have that isue like me
Go to PhpMyadmin

Code: [Select]
and insert manual
[b]email_user_forgot_password[/b]
in
[b]_t_pages[/b]

Then go to osclass admin panel email templates and this is

Code: [Select]
{USER_NAME}
User name

{USER_EMAIL}
User email

{PASSWORD_LINK}
Change user password link

{PASSWORD_URL}
change user password url

{DATE_TIME}
Date time
Title: Re: User password recovery
Post by: MB Themes on April 15, 2021, 08:58:46 PM
Thanks for posting solution ;)