• Resolved aapi001

    (@aapi001)


    WP: 5.5.1
    PHP: 5.6

    Steps to create error:
    User goes to registration page
    User fills out registration info hits submit

    Website throws back “Critical Error” page, no further instructions to user and no email sent.

    Debug shows 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 4964

    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 /var/www/wp-includes/functions.php on line 4964

    Fatal error: Cannot redeclare class PHPMailer\PHPMailer\SMTP in /var/www/wp-includes/PHPMailer/SMTP.php on line 30

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter aapi001

    (@aapi001)

    Forgot to mention: I disabled BP Registration plugin and signup was successful all the way through including email. Reenabled plugin and critical error reappears. Ty

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Do you have any SMTP plugins enabled and in use with your website? Asking because we don’t do anything special with regards to SMTP that would cause this error. We do make use of wp_mail() but that should all be from WordPress core.

    @aapi001

    PHP: 5.6 ?

    Current Stable version PHP is 7.4.11

    Could this be the problem?

    Some of my sites no longer work with PHP version 5.6, then I get a critical error

    Thread Starter aapi001

    (@aapi001)

    I updated Buddy Press and it seems to be working now. Thanks guys.

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    The PHP version shouldn’t be having any effect unless things started fatal erroring after you upgraded that. If you’re eying trying that to solve the issue, it’s not as likely.

    Apparently upgrading BuddyPress solved things for @aapi001

    Not sure if you have anything pending there. Looks like both BuddyPress 6.2.0 and 6.3.0 have Email fixes going for them.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Critcal Error Immediately After Signup’ is closed to new replies.