• While my user register a new account from my website it make error as below
    Fatal error: Cannot redeclare class phpmailerException and also confirmation email not send from my site because of this error an my user can’t login in my website and for that’s why I have to active account for them manually

    so please help me.

    Error Comes from –>public_html/wp-includes/class-phpmailer.php on line 3265

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter imakerin

    (@imakerin)

    First I think If i update wordpress, this error gone automatically but its as it is…

    So, I Check 3265 line number and its not declare again, I can’t found from where that’s error comes
    ————————————————————————-
    class phpmailerException extends Exception
    {
    /**
    * Prettify error message output
    * @return string
    */
    public function errorMessage()
    {
    $errorMsg = ‘‘ . $this->getMessage() . “\n”;
    return $errorMsg;
    }
    }
    —————————————————————————
    Can anybody have solution for that? or I re-install my wordpress?

    [ No bumping please. ]

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    What steps have you tried? Have you considered manually updating your WordPress installation in case your files are corrupted?

    https://codex.www.ads-software.com/Updating_WordPress#Manual_Update

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error: Cannot redeclare class phpmailerException’ is closed to new replies.