Support » Plugin: WooCommerce » 500 / 404 Error on Lost Password

  • The /my-account/lost-password page throws either a 500 or 404 (page isn’t working) when customers try to reset their password.

    Things I’ve tried to fix the issue:

    – Changing the “lost-passord” end point
    – Enabled / Disabled Force SSL on checkout
    – Changing to default WordPress theme (twenty seventy)
    – Checked current for WooCommerce overwrites (none and above step made it clear it wasn’t the theme anyways)
    – Reinstalled WordPress Core Files (wp-admin and wp-includes)
    – Disabled email notification for password reset (don’t get this option, it still says and email was sent, even with it disabled) and how will they get their password?
    – Changed Email type to Plain Text instead of HTML

    After all these, still throws a 500 error (blank response):

    With debug enabled: the error thrown:

    Fatal error: Uncaught exception ‘phpmailerException’ with message ‘Invalid address: (setFrom) ‘ in /wp-includes/class-phpmailer.php:1023 Stack trace: #0 /wp-includes/pluggable.php(352): PHPMailer->setFrom(”, ‘Site Name…’, false) #1 public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(472): wp_mail(‘info@sitename.or…’, ‘Password reset …’, ‘= Password rese…’, ‘Content-Type: t…’, Array) #2 /wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-reset-password.php(86): WC_Email->send(‘info@sitename.or…’, ‘Password reset …’, ‘= Password rese…’, ‘Content-Type: t…’, Array) #3 [internal function]: WC_Email_Customer_Reset_Password->trigger(‘Username’, ‘usO6aqvitj1Z7xB…’) #4 /public_html/wp-includes/class-wp-hook.php(298): call_user_func_array(Array, Array) #5 /public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) in /public_html/wp-includes/class-phpmailer.php on line 1023

  • The topic ‘500 / 404 Error on Lost Password’ is closed to new replies.