I have the WP-EMail plugin installed and when I activate the BackupWordPress it interferes with it. This is the error message it gives when I try to click on the email this post link.
Fatal error: Cannot redeclare class phpmailer in /homepages/30/d131350319/htdocs/wp-content/plugins/email/class-phpmailer.php on line 21
For now I will just have to switch between the two to backup my site. Any ideas why?
Great plugin, just wish the two would work simultaneously, so I can utilizes the automatic email backup.
=================
Roland Rust replied
class-phpmailer.php is actually a class that comes with WordPress since version 2.2.0.
On line 24 of wp-email.php, which is the main file of the WP-Email plugin you can find the require statement for that class.
Add the following if-statement around it:
if (class_exists('phpmailer')) {
require(...);
}
you should also change the path to the file that comes with WordPress and use require_once instead of require.
use: require_once(ABSPATH."wp-includes/class-phpmailer.php");