I had a working PHPMailer 6.2.1 installation. When I updated PHPMailer to 6.2.2, the Admin Status Report page (/admin/report/status) returns blank. If I remove the class.smtp.php and class.phpmailer.php files from the phpmailer folder, then the Status Report page displays with the error message for PHPMailer saying that the 'library' files are not installed.

CommentFileSizeAuthor
#5 869700-status-error.patch784 bytessmk-ka
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

smk-ka’s picture

Status: Active » Postponed (maintainer needs more info)

Which version of the PHPMailer library (not module) are you using?

auris’s picture

After my update to PHPMailer 6.x-2.2 the status report page returns:

Fatal error: Cannot redeclare class phpmailerException in ./sites/all/modules/phpmailer/phpmailer/class.phpmailer.php on line 2319

kebap’s picture

subscribe

jlholmes’s picture

I am using PHPMailer v 5.1 (11/11/2009, SourceForge) of the library. This is the same version I was using with the 6.2.1 version of the module.

smk-ka’s picture

Title: PHPMailer 6.2.2 update causing Status Report page error » PHPMailer class included twice causing Status Report page error
Status: Postponed (maintainer needs more info) » Needs review
FileSize
784 bytes

Couldn't replicate, so it seems that simply some module included the class file before. Simple fix, could you please test it?

croryx’s picture

Status: Needs review » Reviewed & tested by the community

I had exactly the same problem and the patch solved it. Thanks.

smk-ka’s picture

Status: Reviewed & tested by the community » Fixed

Committed, thanks for reporting back!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

insercoop.org’s picture

I had exactly the same problem and the patch solved it. Thanks to