Email Integration error
Our messages are going through on the boards now, but they are being duplicated and are causing repetitive emails to go out each time.
Theres an error on the EI cron which may be the cause:
Fatal error: Call to a member function set_parsing_language() on a non-object in /local/apache/content/forums.afponline.org/htdocs/forums/includes/cron/emailintegration.php on line 1615
Do you know what could be happening?
Here is that section of code:
Code:
else
{
eval(iif(empty($evalemailplain["$touser[languageid]"]), $evalemailplain["-1"], $evalemailplain["$touser[languageid]"]));
$plaintext_parser->set_parsing_language($touser['languageid']);
$message = $plaintext_parser->parse($message, $foruminfo['forumid']);
}
$emailreturnaddress = $foruminfo['ei_replyaddress'];
$eiusername = $userinfo['username'];
$eidelimiter = stripcslashes($vbulletin->options['ei_header_newline']);
$eiheaders = '';
$eiheaders .= 'Date: ' . date('r') . $eidelimiter;
$eifromheader = 'From: ';
if($vbulletin->options['ei_use_single_from_address'])
{
$eifromheader .= $vbulletin->options['ei_single_from_name'] . '<' . $vbulletin->options['ei_single_from_address'] .'>';
}