• Resolved Philipp

    (@philkra)


    Hi Guys,

    through your plugin there is an error with the function “password reset” on several websites.

    After deactivating your Plugin Translate Press – the password reset works fine.

    Looking forward for a fix and update.
    BR and thx
    Phil

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Alex

    (@alexcozmoslabs)

    Hi,

    Could you let me know exactly what is the error? Send it by replying to this conversation.

    Hi,

    Same here…

    PHP Fatal error: Uncaught Error: Call to a member function get_user_id() on bool in /wp-content/plugins/translatepress-multilingual/includes/class-woocommerce-emails.php:135

    This seems to be quite a major issue.
    I’ve fixed this personally by commenting out 2 lines of the code, I’m not sure if this is the exact solution yet, but it has resolved the critical error issue at least.

    In this file:
    /public_html/wp-content/plugins/translatepress-multilingual/includes/class-woocommerce-emails.php
    I commented/removed the 2 following lines:
    Line ~13:
    add_action( 'woocommerce_checkout_update_order_meta', array( $this, 'save_language_on_checkout' ), 10, 2 );

    Line ~42
    add_filter( 'woocommerce_allow_switching_email_locale', array( $this, 'trp_woo_setup_locale' ), 10, 2 );

    • This reply was modified 2 years, 2 months ago by Alex Wigmore.

    It worked for me, Alex. Thank you.

    Thanks, Alex. For me no error as well. Now hoping for an update from Translatepress to “really” fix the problem.

    Same here! I rolled back to 2.3.3 and that also fixed the error

    Plugin Support Alex

    (@alexcozmoslabs)

    Hi,

    Please, update to the latest version of our plugin. Our developers fixed this issue.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Password Reset – Error’ is closed to new replies.