Support Forum

 
You must be logged in to post
Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Line 71 Errors After 1.04.07 Update

Resolved
No Tags
UserPost

10:45 am
March 10, 2011


SamanthaE

1

Hi,

I just updated to the new Formidable 1.04.07, and also updated WordPress to 3.1. Since updating my forms aren't going through and I get the error message below.

 

I have deactivated then reactivated Formidable, and have deleted the plugin and reinstalled and still get this same error.

 

Error Message

 

11:13 am
March 10, 2011


dgodfather

2

I assme you've been able to send emails in the past and that your host supports SMTP?

11:29 am
March 10, 2011


SamanthaE

3

Yep, we were receiving emails right before we updated.

11:36 am
March 10, 2011


Steph

4

Maybe you can try making one change? Please open formidable/classes/models/FrmNotification.php and change line 70 from this:

$header = "From: \"{$reply_to_name}\" <{$reply_to}>";

to this:

$header = "From: \"{$reply_to_name}\" <{$reply_to}>\r\n";

 

Please let us know if that helps or not.

12:01 pm
March 10, 2011


SamanthaE

5

Thanks for the suggestion!

I made the update and it's still giving the same error, unfortunately.

12:39 pm
March 10, 2011


Steph

6

Up for trying something else out? If so, please try changing line 65 from this:

$message        = wordwrap(stripslashes($message), 70);

to this:

$message        = wordwrap(stripslashes($message), 70, "\r\n");

2:19 pm
March 10, 2011


SamanthaE

7

This resolved it! All test messages came through now.

Thanks so much for your help!

10:12 am
March 11, 2011


Steph

8

Thanks for reporting back and the troubleshooting help. Much appreciated!

Resolved
No Tags