• I am running a wordpress LEMP server, and in my wordpress error logs, I am getting the following error:

    PHP Deprecated:  File 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 /var/www/mcmo.is/wp-includes/functions.php on line 5603

    I don’t know what this error means, what is causing it, where it is coming from (a plugin or the current theme?), or how to fix it.

    QUESTION:

    Could someone please tell me what this error means, what is causing it, where it its coming from and how to fix it? Thanks.

Viewing 1 replies (of 1 total)
  • Moderator t-p

    (@t-p)

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

Viewing 1 replies (of 1 total)
  • The topic ‘Error Log: Deprecated: File class-smtp.php is deprecated Use SMTP.php instead’ is closed to new replies.