The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Fatal error: Uncaught exception - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Modules / Other (https://forums.formtools.org/forumdisplay.php?fid=8)
+--- Forum: Modules (https://forums.formtools.org/forumdisplay.php?fid=16)
+--- Thread: Fatal error: Uncaught exception (/showthread.php?tid=462)



Fatal error: Uncaught exception - josh597 - Jan 27th, 2010

I just installed (fresh... not upgrade) Form Tools 2.0.0-beta-20100101.
I was using 1.5 previously until we moved from Lotus to Outlook (Outlook was causing blank emails through form submissions)

Anyway... everything looked like it was working well until I received a message from one of my admins saying that they received an error when submitting a form and had neglected to enter an email address.

Not sure if this is related, but I am also using the validation (rsv.js)
As long as the Form is filled out with a valid email address, the form goes through without issue.
If I enter just the email address and try to submit the forms, I get the expected popup indicating that the field needs to be filled out.

Here's the message I'm getting:
Notice: Undefined variable: from in C:\wamp\www\backup_san\modules\swift_mailer\library.php on line 301

Fatal error: Uncaught exception 'Exception' with message 'The sender parameter must either be a valid string email address or an instance of Swift_Address.' in C:\wamp\www\backup_san\modules\swift_mailer\php5\Swift.php:345 Stack trace: #0 C:\wamp\www\backup_san\modules\swift_mailer\library.php(301): Swift->send(Object(Swift_Message), Object(Swift_RecipientList), NULL) #1 C:\wamp\www\backup_san\global\code\emails.php(1102): swift_send_email(Array) #2 C:\wamp\www\backup_san\global\code\emails.php(1070): ft_process_email_template('1', 8, '2') #3 C:\wamp\www\backup_san\process.php(317): ft_send_emails('on_submission', '1', 8) #4 C:\wamp\www\backup_san\process.php(49): ft_process_form(Array) #5 {main} thrown in C:\wamp\www\backup_san\modules\swift_mailer\php5\Swift.php on line 345

Any ideas what's going on?

Thank you in advance.


RE: Fatal error: Uncaught exception - squidz - Feb 4th, 2011

(Jan 27th, 2010, 3:16 AM)josh597 Wrote: Notice: Undefined variable: from in C:\wamp\www\backup_san\modules\swift_mailer\library.php on line 301

Fatal error: Uncaught exception 'Exception' with message 'The sender parameter must either be a valid string email address or an instance of Swift_Address.' in C:\wamp\www\backup_san\modules\swift_mailer\php5\Swift.php:345 Stack trace: #0 C:\wamp\www\backup_san\modules\swift_mailer\library.php(301): Swift->send(Object(Swift_Message), Object(Swift_RecipientList), NULL) #1 C:\wamp\www\backup_san\global\code\emails.php(1102): swift_send_email(Array) #2 C:\wamp\www\backup_san\global\code\emails.php(1070): ft_process_email_template('1', 8, '2') #3 C:\wamp\www\backup_san\process.php(317): ft_send_emails('on_submission', '1', 8) #4 C:\wamp\www\backup_san\process.php(49): ft_process_form(Array) #5 {main} thrown in C:\wamp\www\backup_san\modules\swift_mailer\php5\Swift.php on line 345

I'm getting this same error. Does anyone have a fix?