Error thrown Class 'PHPMailer' not found

Home Forums Legacy Support Support queries Update Issues Error thrown Class 'PHPMailer' not found

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #284067
    ateya3d
    Spectator
    Hello i face this error after i update to wordpress 5.5   Error thrown Class 'PHPMailer' not found
    #284188
    Anshuman Sahu
    Keymaster
    Well yes this class has been removed now from wordpress and we also do not know why they took this decision as their own plugin buddypress still uses it . We have update from wordpress but not from buddypress to handle this error .   the solution is to configure smtp server now using any third party plugin and your webhost .https://wplms.io/support/knowledge-base/postman-smtp-for-emails/   and then add this code in your wplms-customizer.php file in wplms customizer plugin :

    add_filter( 'bp_email_use_wp_mail', '__return_false',99999 );

     
    #284945
    ateya3d
    Spectator
    not solve the problem WP Mail SMTP and i use your code in my functions.php problem not solved  
    #288548
    Anshuman Sahu
    Keymaster
    Well you can try reverting this line of the code by sending true instead of false:  

    add_filter( 'bp_email_use_wp_mail', '__return_true',99999 );

     
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Error thrown Class 'PHPMailer' not found’ is closed to new replies.