Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#5 | 869700-status-error.patch | 784 bytes | smk-ka |
Comments
Comment #1
smk-ka CreditAttribution: smk-ka commentedWhich version of the PHPMailer library (not module) are you using?
Comment #2
auris CreditAttribution: auris commentedAfter 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
Comment #3
kebap CreditAttribution: kebap commentedsubscribe
Comment #4
jlholmes CreditAttribution: jlholmes commentedI 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.
Comment #5
smk-ka CreditAttribution: smk-ka commentedCouldn't replicate, so it seems that simply some module included the class file before. Simple fix, could you please test it?
Comment #6
croryx CreditAttribution: croryx commentedI had exactly the same problem and the patch solved it. Thanks.
Comment #7
smk-ka CreditAttribution: smk-ka commentedCommitted, thanks for reporting back!
Comment #9
insercoop.org CreditAttribution: insercoop.org commentedI had exactly the same problem and the patch solved it. Thanks to