Declaration error in class phpmailerException

0

I use wordpress, and I'm using the contact form 7 plugin. When sending an email by clicking the button, it returns me the following error:

  

Fatal error: Can not declare class phpmailerException, because the name   is already in use in   /home/storage/d/94/6a/renovedigital/public_html/wp-includes/class-phpmailer.php   online 4040

Going to this line I found the following code:

4025 /**
4026  * PHPMailer exception handler
4027  * @package PHPMailer
4028  */
4029 class phpmailerException extends Exception
4030 {
4031     /**
4032      * Prettify error message output
4033      * @return string
4034      */
4035     public function errorMessage()
4036     {
4037         $errorMsg = '<strong>' . $this->getMessage() . "</strong><br />\n";
4038         return $errorMsg;
4039     }
4040 }
    
asked by anonymous 19.05.2017 / 18:51

0 answers