I’m getting the PHP Fatal error too.
This is happening when submitting the lost password and create an account forms using WooCommerce.
Errors started on the 24th August.
Example errors below for the lost password and new account forms (all the same):
[29-Aug-2022 09:58:23 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_user_id() on bool in /home/website-address/public_html/wp-content/plugins/translatepress-multilingual/includes/class-woocommerce-emails.php:135
Stack trace:
#0 /home/website-address/public_html/wp-includes/class-wp-hook.php(307): TRP_Woocommerce_Emails->trp_woo_setup_locale(true, Object(WC_Email_Customer_New_Account))
#1 /home/website-address/public_html/wp-includes/plugin.php(191): WP_Hook->apply_filters(true, Array)
#2 /home/website-address/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(330): apply_filters('woocommerce_all...', true, Object(WC_Email_Customer_New_Account))
#3 /home/website-address/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-new-account.php(104): WC_Email->setup_locale()
#4 /home/website-address/public_html/wp-content/plugins/woocommerce/includes/class-wc-emails.php(392): WC_Email_Customer_New_Account->trigger(##################, '##################...', true)
#5 /home/website-address/public_html/wp-includes/class-wp-hook.php(307): in /home/website-address/public_html/wp-content/plugins/translatepress-multilingual/includes/class-woocommerce-emails.php on line 135
[29-Aug-2022 09:37:33 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_user_id() on bool in /home/wwscenics/public_html/wp-content/plugins/translatepress-multilingual/includes/class-woocommerce-emails.php:135
Stack trace:
#0 /home/website-address/public_html/wp-includes/class-wp-hook.php(307): TRP_Woocommerce_Emails->trp_woo_setup_locale(true, Object(WC_Email_Customer_Reset_Password))
#1 /home/website-address/public_html/wp-includes/plugin.php(191): WP_Hook->apply_filters(true, Array)
#2 /home/website-address/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(330): apply_filters('woocommerce_all...', true, Object(WC_Email_Customer_Reset_Password))
#3 /home/website-address/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-reset-password.php(102): WC_Email->setup_locale()
#4 /home/website-address/public_html/wp-includes/class-wp-hook.php(307): WC_Email_Customer_Reset_Password->trigger('##################', '##################...')
#5 /home/website-address/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_f in /home/wwscenics/public_html/wp-content/plugins/translatepress-multilingual/includes/class-woocommerce-emails.php on line 135
Can you let me know ASAP, I’ve we can roll back to previous version if that will fix this.
I have also submitted a support ticket as I have a Business account plan with you.
Cheers,
Rob