• Resolved Alex Spataru

    (@alexandrubr)


    Hi,

    I’ve updated WP 5.5 beta to see how one of my websites is doing and I keep getting this warning:

    Deprecated: class-phpmailer.php is deprecated since version 5.5.0! Use wp-includes/PHPMailer/PHPMailer.php instead. The PHPMailer class has been moved to wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace. in wp-includes\functions.php on line 4963

    If I deactivate your plugin, the warning is gone.

    Can you please check?

    Thank you,
    Alex

    • This topic was modified 4 years, 3 months ago by Alex Spataru.
Viewing 13 replies - 1 through 13 (of 13 total)
  • Hi,

    Can you check if “PostMTP” mailer works for you?

    Thread Starter Alex Spataru

    (@alexandrubr)

    Hi,

    I changed from PHPMailer to PostSMTP and I still see this PHP Deprecated notice:

    [03-Aug-2020 10:01:17 UTC] PHP Deprecated:  class-phpmailer.php is <strong>deprecated</strong> since version 5.5.0! Use wp-includes/PHPMailer/PHPMailer.php instead. The PHPMailer class has been moved to wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace. in wp-includes/functions.php on line 4963
    

    Once I deactivate the plugin, the PHP Deprecation notice is gone.

    Alex

    Same issue here on this WordPress 5.5 RC2 test bench https://oldrup.net/plugin/post-smtp-mailer/

    Deprecated: class-phpmailer.php is deprecated since version 5.5.0! Use wp-includes/PHPMailer/PHPMailer.php instead. The PHPMailer class has been moved to wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace. in /home/oldrupdk/oldrup.net/wp-includes/functions.php on line 4963

    Switching “mailer” didn’t resolve this issue.

    Have to disable the plugin for now.

    Please let me know if I can to anything to help troubleshooting.
    Bjarne

    Hello

    Same issue here on this wordpress 5.5

    Deprecated: class-phpmailer.php is deprecated since version 5.5.0! Use wp-includes/PHPMailer/PHPMailer.php instead. The PHPMailer class has been moved to wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace. in /home/sadiksum/public_html/wp-includes/functions.php on line 4964

    can you help me please

    I am getting this. How do I fix it or turn off the warning from displaying to the public on the website?

    Please update, and let me know.

    Tested on my WordPress 5.5 multisite, PHP 7.4, debug on test bench. No more errors ?? Thanks!

    https://oldrup.net/plugin/post-smtp-mailer/

    Please update the plugin it will solve the issue

    I believe y’all are seeing the error I was when using PHPMailer as the mail type – switching to PostSMTP does resolve the error, but an update would be great, as we are encouraged by the plugin itself to use PHPMailer.

    [18-Aug-2020 21:41:25 UTC] PHP Fatal error: Uncaught Error: Call to a member function getCode() on null in C:\inetpub\wwwroot\wp-content\plugins\post-smtp\Postman\Postman-Send-Test-Email\PostmanSendTestEmailController.php:268
    Stack trace:
    #0 C:\inetpub\wwwroot\wp-includes\class-wp-hook.php(287): PostmanSendTestEmailAjaxController->sendTestEmailViaAjax(”)
    #1 C:\inetpub\wwwroot\wp-includes\class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
    #2 C:\inetpub\wwwroot\wp-includes\plugin.php(478): WP_Hook->do_action(Array)
    #3 C:\inetpub\wwwroot\wp-admin\admin-ajax.php(176): do_action(‘wp_ajax_postman…’)
    #4 {main}
    thrown in C:\inetpub\wwwroot\wp-content\plugins\post-smtp\Postman\Postman-Send-Test-Email\PostmanSendTestEmailController.php on line 268

    My website is unable to enter the wordpress panel with this message:

    Deprecated: class-phpmailer.php is deprecated since version 5.5.0! Use wp-includes/PHPMailer/PHPMailer.php instead. The PHPMailer class has been moved to wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace. in /home/compresoftware.com/public_html/wp-includes/functions.php on line 4963
    Powered by WordPress

    I have installed ithemes with code sending protection by email. That said, what should I do to be able to access the panel?

    This happened after I updated wordpress, please help me, my knowledge level in database is low, thanks.

    Hi,

    The message is not relevant to your issue.
    Try ithemes security support.

    I fixed it by uninstalling ithemes and so I was able to login to the panel. I notice that my emails are not sent, what can I do?

    I’m getting the same following message

    Deprecated: class-phpmailer.php is deprecated since version 5.5.0! Use wp-includes/PHPMailer/PHPMailer.php instead. The PHPMailer class has been moved to wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace. in /var/www/wp-includes/functions.php on line 4963

    Fatal error: Uncaught Error: Class ‘ET_Core_Cache_Directory’ not found in /var/www/wp-content/themes/Divi/core/components/init.php:9 Stack trace: #0 /var/www/wp-includes/class-wp-hook.php(287): et_core_init(”) #1 /var/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #2 /var/www/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /var/www/wp-settings.php(524): do_action(‘after_setup_the…’) #4 /var/www/wp-config.php(97): require_once(‘/var/www/wp-set…’) #5 /var/www/wp-load.php(37): require_once(‘/var/www/wp-con…’) #6 /var/www/wp-admin/admin.php(34): require_once(‘/var/www/wp-loa…’) #7 /var/www/wp-admin/index.php(10): require_once(‘/var/www/wp-adm…’) #8 {main} thrown in /var/www/wp-content/themes/Divi/core/components/init.php on line 9

    looks like disabling the plugin is the fix but I get the same message when I try to access the admin portal. Please help

    • This reply was modified 4 years, 1 month ago by ILWtechguy.
Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘WordPress 5.5.0 deprecation’ is closed to new replies.