Fatal error: Cannot redeclare class PHPMailer
-
I am getting this Fatal Error with WordPress 3.0.1. whenever I use a plugin that sends out an email from the front end of the blog:
Fatal error: Cannot redeclare class PHPMailer in /home/******/public_html/******/wp-includes/class-phpmailer.php on line 34
Line 34:
class PHPMailer {
The version # for the class.PMPMailer.php file is v2.0.4.
I have tried 2 different plugins and got this error when processing forms in each one. I have WP Database Manager plugin installed that sends out an email with a db-backup file with no problems; and a contact form that sends user input information to the wp admin email address with no problems.
I have searched on Google and WP Support and tried a couple suggestions (after making a backup copy of the original phpmailer file) with no luck. I am not a php guru but I understand it somewhat.
Does anyone have an idea what might be causing this? Is it the plugin files that I need to tweak or the phpmailer file? And how in either case?
Thanks for the help in advance.
- The topic ‘Fatal error: Cannot redeclare class PHPMailer’ is closed to new replies.