Critical error during registrations
-
I get a sudden critical error message whenever a user tries creating an account on my website. I have disabled and plugins and changed the theme, yet it’s still the same. I don’t know what to do.
A screenshot of the error is attached here.
Note that I have disabled a plugin, used default theme and yet it’s working
The page I need help with: [log in to see the link]
-
Try to enable PHP logging and post the PHP error log here in the Forum.
Read this guide: How to enable debug logging
https://docs.ultimatemember.com/article/1751-enable-debug-logging
The PHP error code is pasted below and the debug.log file is uploaded here.
[06-Aug-2022 11:28:32 UTC] PHP Fatal error: Uncaught Error: Call to undefined function PHPMailer\PHPMailer\mail() in /home/passaddi/public_html/wp-includes/PHPMailer/PHPMailer.php:874 Stack trace: #0 /home/passaddi/public_html/wp-includes/PHPMailer/PHPMailer.php(1930): PHPMailer\PHPMailer\PHPMailer->mailPassthru('passaddict@gmai...', '[PASSaddict] Ne...', '<html>\r\n\r\n\t\t\t\t<...', 'Date: Sat, 6 Au...', NULL) #1 /home/passaddi/public_html/wp-includes/PHPMailer/PHPMailer.php(1658): PHPMailer\PHPMailer\PHPMailer->mailSend('Date: Sat, 6 Au...', '<html>\r\n\r\n\t\t\t\t<...') #2 /home/passaddi/public_html/wp-includes/PHPMailer/PHPMailer.php(1494): PHPMailer\PHPMailer\PHPMailer->postSend() #3 /home/passaddi/public_html/wp-includes/pluggable.php(548): PHPMailer\PHPMailer\PHPMailer->send() #4 /home/passaddi/public_html/wp-content/plugins/ultimate-member/includes/core/class-mail.php(454): wp_mail(Array, '[PASSaddict] Ne...', '<html>\r\n\r\n\t\t\t\t<...', Array, Array) #5 /home/passaddi/public_html/wp-content/plugins/ultimate-member/includes/core/um-actions-register.php(139): um\core\Mail->send('passaddict@gmai...', 'notification_ne...', Array) #6 /home/passaddi/public_html/wp-includes/class-wp-hook.php(307): um_send_registration_notification(17, Array) #7 /home/passaddi/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #8 /home/passaddi/public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #9 /home/passaddi/public_html/wp-content/plugins/ultimate-member/includes/core/um-actions-register.php(121): do_action('um_registration...', 17, Array) #10 /home/passaddi/public_html/wp-includes/class-wp-hook.php(307): um_after_insert_user(17, Array) #11 /home/passaddi/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #12 /home/passaddi/public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #13 /home/passaddi/public_html/wp-content/plugins/ultimate-member/includes/core/um-actions-register.php(505): do_action('um_user_registe...', 17, Array) #14 /home/passaddi/public_html/wp-includes/class-wp-hook.php(307): um_submit_form_register(Array) #15 /home/passaddi/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #16 /home/passaddi/public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #17 /home/passaddi/public_html/wp-content/plugins/ultimate-member/includes/core/class-form.php(582): do_action('um_submit_form_...', Array) #18 /home/passaddi/public_html/wp-includes/class-wp-hook.php(307): um\core\Form->form_init('') #19 /home/passaddi/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(false, Array) #20 /home/passaddi/public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #21 /home/passaddi/public_html/wp-includes/template-loader.php(13): do_action('template_redire...') #22 /home/passaddi/public_html/wp-blog-header.php(19): require_once('/home/passaddi/...') #23 /home/passaddi/public_html/index.php(17): require('/home/passaddi/...') #24 {main} thrown in /home/passaddi/public_html/wp-includes/PHPMailer/PHPMailer.php on line 874This is probably an issue with your email setup.
UM is sending to admin the notification of a new user when the error occurs.
Do you use a SMTP service for your emails?
So what can be done?
Send the PHP error log to your web hosting support and ask for their help with your issue.
I mean what should I do? Where is the error coming from.. What should I do next aside contacting my hosting company
Your web hosting have an issue with their email settings
which should be fixed by their support.It’s nothing you can solve on your email settings.
Fixed
Thanks for letting us know how you’ve resolved the issue.
The topic ‘Critical error during registrations’ is closed to new replies.