[wp-trac] [WordPress Trac] #50716: PHP Fatal error: Cannot declare class PHPMailer\PHPMailer\PHPMailer

WordPress Trac noreply at wordpress.org
Tue Jan 26 13:44:57 UTC 2021


#50716: PHP Fatal error:  Cannot declare class PHPMailer\PHPMailer\PHPMailer
--------------------------+-----------------------------
 Reporter:  david.binda   |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.5
Component:  Mail          |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:
--------------------------+-----------------------------

Comment (by SergeyBiryukov):

 In [changeset:"50022" 50022]:
 {{{
 #!CommitTicketReference repository="" revision="50022"
 Mail: Make sure the `SMTP` class is only required once if a plugin
 requires `wp-includes/class-smtp.php` directly.

 Follow-up to [48033], [48530].

 Props oellin, greatsaltlake, audrasjb.
 Fixes #52369. See #50716, #41750.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50716#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list