• Resolved Konstantinos

    (@stravojohn)


    Hello, my clients are trying to create an account but they keep receiving a critical error.

    I’m using xstore theme but I have tried with storefont aswell but it doesnt work.

    I got the following error from wc status.

    2023-05-28T08:23:21+00:00 CRITICAL Uncaught Error: Call to undefined function PHPMailer\PHPMailer\mail() in /home/www/kosmos/kosmosmarket.gr/www/wp-includes/PHPMailer/PHPMailer.php:874
    Stack trace:
    #0 /home/www/kosmos/kosmosmarket.gr/www/wp-includes/PHPMailer/PHPMailer.php(1961): PHPMailer\PHPMailer\PHPMailer->mailPassthru('stravojohn@gmai...', '=?UTF-8?B?zp8gz...', '<!DOCTYPE html>...', 'Date: Sun, 28 M...', NULL)
    #1 /home/www/kosmos/kosmosmarket.gr/www/wp-includes/PHPMailer/PHPMailer.php(1682): PHPMailer\PHPMailer\PHPMailer->mailSend('Date: Sun, 28 M...', '<!DOCTYPE html>...')
    #2 /home/www/kosmos/kosmosmarket.gr/www/wp-includes/PHPMailer/PHPMailer.php(1518): PHPMailer\PHPMailer\PHPMailer->postSend()
    #3 /home/www/kosmos/kosmosmarket.gr/www/wp-includes/pluggable.php(544): PHPMailer\PHPMailer\PHPMailer->send()
    #4 /home/www/kosmos/kosmosmarket.gr/www/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(688): wp_mail(Array, '\xCE\x9F \xCE\xBB\xCE\xBF\xCE\xB3\xCE\xB1\xCF\x81\xCE\xB9...', '<!DOCTYPE html>...', Array, Array)
    #5 /home/www/kosmos/kosmosmarket.gr/www/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-new-account.php(118): WC_Email->send('stravojohn@gmai...', '\xCE\x9F \xCE\xBB\xCE\xBF\xCE\xB3\xCE\xB1\xCF\x81\xCE\xB9...', '<!DOCTYPE html>...', 'Content-Type: t...', Array)
    #6 /home/www/kosmos/kosmosmarket.gr/www/wp-content/plugins/woocommerce/includes/class-wc-emails.php(392): WC_Email_Customer_New_Account->trigger(2, 'OUxuahw#Bwl(', true)
    #7 /home/www/kosmos/kosmosmarket.gr/www/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Domain/Services/CreateAccount.php(49): WC_Emails->customer_new_account(2, Array, true)
    #8 /home/www/kosmos/kosmosmarket.gr/www/wp-includes/class-wp-hook.php(308): Automattic\WooCommerce\Blocks\Domain\Services\CreateAccount->Automattic\WooCommerce\Blocks\Domain\Services\{closure}(2, Array, true)
    #9 /home/www/kosmos/kosmosmarket.gr/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #10 /home/www/kosmos/kosmosmarket.gr/www/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
    #11 /home/www/kosmos/kosmosmarket.gr/www/wp-content/plugins/woocommerce/includes/class-wc-emails.php(170): do_action_ref_array('woocommerce_cre...', Array)
    #12 /home/www/kosmos/kosmosmarket.gr/www/wp-includes/class-wp-hook.php(308): WC_Emails::send_transactional_email(Array, Array, true)
    #13 /home/www/kosmos/kosmosmarket.gr/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    #14 /home/www/kosmos/kosmosmarket.gr/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #15 /home/www/kosmos/kosmosmarket.gr/www/wp-content/plugins/woocommerce/includes/wc-user-functions.php(108): do_action('woocommerce_cre...', 2, Array, true)
    #16 /home/www/kosmos/kosmosmarket.gr/www/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(1092): wc_create_new_customer('stravojohn@gmai...', 'stravojohn', 'OUxuahw#Bwl(')
    #17 /home/www/kosmos/kosmosmarket.gr/www/wp-includes/class-wp-hook.php(308): WC_Form_Handler::process_registration('')
    #18 /home/www/kosmos/kosmosmarket.gr/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    #19 /home/www/kosmos/kosmosmarket.gr/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #20 /home/www/kosmos/kosmosmarket.gr/www/wp-settings.php(645): do_action('wp_loaded')
    #21 /home/www/kosmos/kosmosmarket.gr/www/wp-config.php(85): require_once('/home/www/kosmo...')
    #22 /home/www/kosmos/kosmosmarket.gr/www/wp-load.php(50): require_once('/home/www/kosmo...')
    #23 /home/www/kosmos/kosmosmarket.gr/www/wp-blog-header.php(13): require_once('/home/www/kosmo...')
    #24 /home/www/kosmos/kosmosmarket.gr/www/index.php(17): require('/home/www/kosmo...')
    #25 {main}
      thrown μέσ

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi @stravojohn ,

    Thanks for reaching out!

    I understand that your clients are encountering a critical error when trying to create an account on the front end of your site, is this correct?

    Please can you clarify if this is a new issue, or one that has been present for a while? If the former, do you recall any changes/updates made to the site before this issue surfaced?

    I’m using xstore theme but I have tried with storefont aswell but it doesnt work.

    This is a great first troubleshooting step, however, I’d suggest performing a full conflict test to rule out any theme/plugins conflicts causing the issue.

    The support guide below provides a walkthrough on how to test for conflicts:

    https://docs.woocommerce.com/document/how-to-test-for-conflicts/

    Should the issue persist, please can you share a copy of your sites System Status Report which you can find via WooCommerce → Status. Select Get system report and then Copy for support.

    Once you have that, please share the results on your response here.

    Cheers!

Viewing 1 replies (of 1 total)

The topic ‘Critical error while registering’ is closed to new replies.