• Resolved davidgimenez

    (@davidgimenez)


    Hello, several users told me that they could not reset their password in woocomerce, and I began to investigate and I observed that tutor lms is generating a link like this: https://www.example.com/retrieve-password instead of leaving it like this by default in woocommerce: www. example.com/my-account/lost-password. I do not use the registration or login forms on my site, I use the default woocommerce ones. please check the problem

Viewing 6 replies - 1 through 6 (of 6 total)
  • Dear @davidgimenez

    We apologize for the inconvenience. To resolve this issue, please follow these steps:

    • Open your theme’s functions.php file.
    • Add the provided code snippet to the file.
    • Save the changes to the functions.php file.
    • Clear your browser cache to ensure the changes take effect.

    By adding this code to your theme’s functions.php file and clearing your browser cache, the issue should be resolved.
    function redirect_lost_password_page() {
    if ( function_exists('tutor') ) {
    $lostpassword_url = add_query_arg( 'action', 'retrieve_password', site_url( 'my-account/lost-password/' ) );
    if ( ! empty( $redirect ) ) {
    $lostpassword_url = add_query_arg( 'redirect_to', urlencode( $redirect ), $lostpassword_url );
    }
    return $lostpassword_url;
    }
    }
    add_filter( 'lostpassword_url', 'redirect_lost_password_page', 99 );


    Thank you.

    Thread Starter davidgimenez

    (@davidgimenez)

    this code does not work for me the password change link remains the same in the woocoommerce login form as I mentioned before tutor lms adds /retrieve-password instead of leaving /my-account/lost-password by default woocommerce

    Dear @davidgimenez

    We apologize for the issue you’re experiencing. Please reach out to us at https://www.themeum.com/support/ with your order number for assistance.

    Thank you

    Thread Starter davidgimenez

    (@davidgimenez)

    what order number do you want if this problem is caused by the free plugin tutor lms, I communicated an error found in your plugin that causes woocommerce and it is very serious since my users cannot establish the access code

    Dear @davidgimenez

    I apologize for any confusion caused. I understand that you have tried the custom code provided and it is working on other websites, but it does not seem to be functioning on your specific website. To further investigate and resolve the issue, we would need to perform a thorough analysis of your website. However, please note that this level of support is available exclusively for our pro users.

    We appreciate your understanding and apologize for any inconvenience caused. If you have any further questions or concerns, please feel free to let us know.

    Thank you.

    Thread Starter davidgimenez

    (@davidgimenez)

    I see a lot of this error also present in the logo of my servers: [06-Jun-2023 09:47:25 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/** /public_html/wp-includes/class-wp-styles.php:350) in /home/**/public_html/wp-content/plugins/tutor/templates/login.php on line 17

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘woocommerce password reset’ is closed to new replies.