• Resolved das73

    (@das73)


    After upgrade to WP5.7 I have a problem while logging to admin console.

    After entering login and password, I have error page that something wrong happened. Then I got to https://www.mydomain.com – and see that I’m logged really into WP.

    At the same time I see the following in debug.log:

    PHP Fatal error:  Uncaught Error: Call to undefined function PHPMailer\PHPMailer\ctype_alnum() in wp-includes/PHPMailer/PHPMailer.php:1793
    Stack trace:
    #0 wp-includes/PHPMailer/PHPMailer.php(1871): PHPMailer\PHPMailer\PHPMailer::isShellSafe('wordpress@mydomain...')
    #1 wp-includes/PHPMailer/PHPMailer.php(1635): PHPMailer\PHPMailer\PHPMailer->mailSend('Date: Fri, 9 Ap...', 'This email was ...')
    #2 wp-includes/PHPMailer/PHPMailer.php(1466): PHPMailer\PHPMailer\PHPMailer->postSend()
    #3 wp-includes/pluggable.php(531): PHPMailer\PHPMailer\PHPMailer->send()
    #4 wp-content/plugins/wordfence/lib/wordfenceClass.php(7099): wp_mail(Array, '[Wordfence Aler...', 'This email was ...')
    #5 wp-content/plugins/wordfence/lib/wfAlerts.php(179): wordfence::alert('[Wordfence Aler...', 'A user with use...', '141.251.126.201')
    #6 part-of-directory-path in wp-includes/PHPMailer/PHPMailer.php on line 1793

    Additional effect – I don’t now receive e-mail notifications about logged users.

    PHP7.3 with modules (bcmath, ctype, curl, dom, exif, fileinfo, filter, ftp, iconv, imagick, json, mbstring, mcrypt, mysqli, opcache, openssl, session, simplexml, sockets, sodium, xml, xmlreader, zip) is installed.

    What the problem could be that make this error?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support WFAdam

    (@wfadam)

    Hello @das73 and thanks for reaching out to us!

    Did this only start happen once you upgraded to 5.7?

    Can you send a diagnostic report to wftest @ wordfence . com? You can find the link to do so at the top of the Wordfence Tools > Diagnostics page. Then click on “Send Report by Email”. Please add your forum username where indicated and respond here after you have sent it.

    Thanks again!

    Thread Starter das73

    (@das73)

    Hello @wfadam,

    Thank you for quick response. Yes, I’ve noticed it after upgrade. I’ve just sent report by e-mail.

    Thank you again!

    Plugin Support WFAdam

    (@wfadam)

    Could you use the “Export” option on the Diagnostic page then send it as an attachment to wftest @ wordfence . com with subject ” das73 for WFADAM ” so I can locate it.

    I didn’t receive your first diagnostic, I believe due to the mailer issue.

    Thanks again!

    Thread Starter das73

    (@das73)

    Hello @wfadam,

    I’ve sent exported diagnostic by e-mail.

    Kind regards,

    Andrey

    Plugin Support WFAdam

    (@wfadam)

    You mentioned that you have the ctype module installed but I am not seeing it in the diagnostic. Which makes me think it might not be enabled or installed correctly. You may need to reach out to your host to make sure it’s enabled.

    ctype is crucial for PHPMailer to work properly.

    Let me know how it goes!

    Thanks again!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Mailer error after upgrade to WP5.7’ is closed to new replies.