• Hello,

    i get this debug message when i try to send a test email.

    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 C:——————-\wp-includes\functions.php on line 4963

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

    Fatal error: Cannot declare class PHPMailer\PHPMailer\SMTP, because the name is already in use in C:—————-\wp-includes\PHPMailer\SMTP.php on line 30

    Can somebody please guide my through this. What is it i have to change?

    Thanks in advance

    Womme

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Gregor Capuder

    (@capuderg)

    Hi @hansheger,

    our plugin does not require the SMTP class/file if it already exists. Usually, it’s required and initialized by WP core, but some plugins are doing it manually without checking for the class existence before doing so and that is why you’re getting this error.

    First, make sure that you’re fully updated including your WordPress theme and other plugins.

    If you’re still having issues, you need to deactivate your 3rd party plugins and activate them one by one to see which plugin is causing this issue.

    Please let us know which plugin was causing it for you, so others might resolve their issues faster.

    Take care!

    Thread Starter hansheger

    (@hansheger)

    Hello and thanks for the fast answer. I′ll check this and will reply here.

    Hi @hansheger – We haven’t heard from you, so I’m going to go ahead and mark this ticket resolved. If you still have questions, though, please feel welcome to continue the conversation.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Critical error because of deprecated php. files’ is closed to new replies.