Post by hfinlay10 » Fri Apr 19, 2013 12:34 pm

Hi,

When I go to send mail filtered by product, the emails don't send and the following errors appear in the log:

2013-04-19 4:23:44 - PHP Warning: Missing argument 2 for ModelSaleOrder::getEmailsByProductsOrdered(), called in /home/<mydomain>admin/controller/sale/contact.php on line 198 and defined in /home/<mydomain>/admin/model/sale/order.php on line 676
2013-04-19 4:23:44 - PHP Warning: Missing argument 3 for ModelSaleOrder::getEmailsByProductsOrdered(), called in /home/<mydomain>/admin/controller/sale/contact.php on line 198 and defined in /home/<mydomain>/admin/model/sale/order.php on line 676

The code referred to is as follows:
contact.php on line 198

Code: Select all

$email_total = $this->model_sale_order->getEmailsByProductsOrdered($this->request->post['product']);
From order.php on line 676:

Code: Select all

public function getEmailsByProductsOrdered($products, $start, $end) {


Can anyone tell me what is going on here? I'm using 1.5.2.1

TIA

New member

Posts

Joined
Thu Apr 12, 2012 8:20 am
Location - Australia
Who is online

Users browsing this forum: No registered users and 29 guests