Post by shoo002 » Sun Jun 20, 2010 6:54 pm

I am getting this errorError: E-Mail to required!. When my customers are checking out via the Offline credit card method directly after they have entered their details and click continue this error comes up. it still send me(admin) and the customer an email but customers are emailing me saying that there are errors on my site and therefore not buying of having to use another method of payment, in most cases paypal which i guess is working fine. I've done some dummy transactions myself and I got the error too. Does anyone have any ideas why this is happening and possibly a soultion.

Regards
Stewart

Active Member

Posts

Joined
Sat Jul 04, 2009 9:40 pm


Post by Qphoria » Tue Feb 01, 2011 1:15 am

For those getting "Error: Email to required!"
This is due to the additional alert email check adding a single "blank" email to the additional email list. It doesn't stop any orders, but it throws an ugly error.

Quick fix:

1. EDIT: catalog/model/checkout/order.php

2. FIND (~line 379):

Code: Select all

// Send to additional alert emails
$emails = explode(',', $this->config->get('config_alert_emails'));
foreach ($emails as $email) {
    $mail->setTo($email);
    $mail->send();
} 

3. REPLACE WITH:

Code: Select all

// Send to additional alert emails
$emails = explode(',', $this->config->get('config_alert_emails'));
foreach ($emails as $email) {
    if ($email) {
        $mail->setTo($email);
        $mail->send();
    }
}

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by deanrusk » Tue Aug 30, 2011 11:33 pm

Thanks a lot ;)

Newbie

Posts

Joined
Tue Aug 30, 2011 11:32 pm

Post by folivei » Sat May 09, 2015 3:28 am

I got same problem, correction didn´t work, but I removed in alert option in Store->tab_option. Those options enable email alert and it seems bugged. In my case, removing that was not a big issue.

Newbie

Posts

Joined
Wed May 06, 2015 10:04 pm
Who is online

Users browsing this forum: No registered users and 17 guests