Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Newsletter error - Blank to subscribers


Recommended Posts

I sent out my first newsletter today and I got this error when done:


Warning: Missing argument 3 for tep_convert_linefeeds() in ************/admin/includes/functions/general.php on line 1281


It then gave me the message that it was finished sending the newsletter.


When my subscribers got the newsletter it was blank. The subject was there and the email was blank.


Here is the code on line 1280 thru 1287 in general.php What do I need to do to get my newsletter to work right?



// nl2br() prior PHP 4.2.0 did not convert linefeeds on all OSs (it only converted \n)

function tep_convert_linefeeds($from, $to, $string) {

if ((PHP_VERSION < "4.0.5") && is_array($from)) {

return ereg_replace('(' . implode('|', $from) . ')', $to, $string);

} else {

return str_replace($from, $to, $string);



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...