Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter austinobimbo

    (@austinobimbo)

    Thank you i have sorted

    Thread Starter austinobimbo

    (@austinobimbo)

    Someone help me how to sort this error below are the codes and the error message.

    if (!$this->UseSendmailOptions || null === $params) {
    $result = @mail($to, $subject, $body, $header);
    } else {
    $this->edebug(“Additional params: {$params}”);
    $result = @mail($to, $subject, $body, $header, $params);
    }

    Fatal error: Uncaught Error: Call to undefined function PHPMailer\PHPMailer\mail() in /home/olaycomp/public_html/wp-includes/PHPMailer/PHPMailer.php:874 Stack trace: #0 /home/olaycomp/public_html/wp-includes/PHPMailer/PHPMailer.php(1961): PHPMailer\PHPMailer\PHPMailer->mailPassthru(‘admin <admin@ol…’, ‘[Olay Company]’, ‘–b1=_FndWJh0rc…’, ‘Date: Thu, 22 J…’, NULL) #1 /home/olaycomp/public_html/wp-includes/PHPMailer/PHPMailer.php(1682): PHPMailer\PHPMailer\PHPMailer->mailSend(‘Date: Thu, 22 J…’, ‘–b1=_FndWJh0rc…’) #2 /home/olaycomp/public_html/wp-includes/PHPMailer/PHPMailer.php(1518): PHPMailer\PHPMailer\PHPMailer->postSend() #3 /home/olaycomp/public_html/wp-includes/pluggable.php(544): PHPMailer\PHPMailer\PHPMailer->send() #4 /home/olaycomp/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-contact-form.php(1620): wp_mail(Array, ‘[Olay Company]’, ‘\n<!doctype html…’, Array, Array) #5 /home/olaycomp/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-contact-form.php(1518): Automattic\Jetpack\Forms\ContactForm\Contact_Form::wp_mail(Array, ‘[Olay Company]’, ‘\n<!doctype html…’, ‘From: obimboaus…’) #6 /home/olaycomp/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-contact-form-plugin.php(875): Automattic\Jetpack\Forms\ContactForm\Contact_Form->process_submission() #7 /home/olaycomp/public_html/wp-includes/class-wp-hook.php(308): Automattic\Jetpack\Forms\ContactForm\Contact_Form_Plugin->process_form_submission(”) #8 /home/olaycomp/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #9 /home/olaycomp/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #10 /home/olaycomp/public_html/wp-includes/template-loader.php(13): do_action(‘template_redire…’) #11 /home/olaycomp/public_html/wp-blog-header.php(19): require_once(‘/home/olaycomp/…’) #12 /home/olaycomp/public_html/index.php(17): require(‘/home/olaycomp/…’) #13 {main} thrown in /home/olaycomp/public_html/wp-includes/PHPMailer/PHPMailer.php on line 874

    Thread Starter austinobimbo

    (@austinobimbo)

    Jetpack’s contact forms

    https://www.olaycompany.com here is the link to the site try submitting the mailing list forms

    • This reply was modified 1 year, 5 months ago by austinobimbo.
Viewing 3 replies - 1 through 3 (of 3 total)