Hello,
I've noticed that my review module stopped to send reminder emails to my customers. When I start cron job manually I'm getting #500 error. Debug mode shows a message like in the attachment.
The Reminder.php line 254:
253: foreach ($data_task as $k1 => $product) { 254: if (in_array($product['id_product'], $tmp_array)) { 255: unset($data_task[$k1]); ... continue; } $text .= $this->generateProductTemplate($product, $data_translate); $tmp_array[] = $product['id_product']; } $param = [ 'subject' => $subject, 'email' => $task['email'], 'order_id' => $task['order_id'], 'id_shop' => $task['id_shop'], 'id_lang' => $task['id_lang'], 'vars' => [ '{products_text}' => $text, '{orderid}' => $task['order_id'], '{lastname}' => $task['lastname'], '{firstname}' => $task['firstname'], '{short_link}' => $short_link, ], ];
Unfortunately I cannot check when precisely it stopped to work, but I think it was more or less after I updated Presta from 1.7.8.10 to 1.7.8.11
What could go wrong?