Fatal error: Uncaught Error: Call to a member function get_user_id()
-
Hi,
After the customer creates a new account with the name and password, it will show the below error. The account is created successfully, I can see the registered user info on admin. If use a google account to login in, it works well and doesn’t show the below error.Fatal error: Uncaught Error: Call to a member function get_user_id() on bool in /www/wwwroot/diiamo.net/wp-content/plugins/translatepress-multilingual/includes/class-woocommerce-emails.php:135 Stack trace: #0 /www/wwwroot/diiamo.net/wp-includes/class-wp-hook.php(307): TRP_Woocommerce_Emails->trp_woo_setup_locale() #1 /www/wwwroot/diiamo.net/wp-includes/plugin.php(191): WP_Hook->apply_filters() #2 /www/wwwroot/diiamo.net/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(330): apply_filters() #3 /www/wwwroot/diiamo.net/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-new-account.php(104): WC_Email->setup_locale() #4 /www/wwwroot/diiamo.net/wp-content/plugins/woocommerce/includes/class-wc-emails.php(392): WC_Email_Customer_New_Account->trigger() #5 /www/wwwroot/diiamo.net/wp-includes/class-wp-hook.php(307): WC_Emails->customer_new_account() #6 /www/wwwroot/diiamo.net/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #7 /www/wwwroot/diiamo.net/wp-includes/plugin.php(524): WP_Ho in /www/wwwroot/diiamo.net/wp-content/plugins/translatepress-multilingual/includes/class-woocommerce-emails.php on line 135
The page I need help with: [log in to see the link]
- The topic ‘Fatal error: Uncaught Error: Call to a member function get_user_id()’ is closed to new replies.