The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (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.27 (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.27 (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.27 (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.27 (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.27 (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.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Swift Mailer error when submit form - 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: Swift Mailer error when submit form (/showthread.php?tid=863)



Swift Mailer error when submit form - radek - Sep 27th, 2010

Hi!

Can anybody help? I configured swift mailer corectly, but when submit the form I get the error message:

Fatal error: Call to a member function setCharset() on a non-object in /home/medialna/public_html/nowoczesne-ogrodzenia.pl/form_tools/modules/swift_mailer/library.php on line 237

I'm not good in problems like that so need some help. Maybe it's a problem that I'm Polish and in form felds I used polish characters?


RE: Swift Mailer error when submit form - clslate - Oct 15th, 2010

Having the same problem after upgrading Form Tools and the Swift Mail module.

In the Swift Mailer config set up, I can send test mails to myself successfully. But with my form, I get this error - never goes to my confirmation page and never sends an email. Unable to send test emails from the form edit area - just from withing the Swift Mailer configuration panel.

Desperate for immediate help.

=========
Update:

Had to turn Swift Mailer off and the default php mailer was working - but after a null registration went through, even that stopped working.

Desperate for help.

Lasted Form Tool Upgrades installed.

Windows 2003 Server Enterprise
MySQL Version 4.1.22

PHP Version 4.4.7


RE: Swift Mailer error when submit form - hyperbolenator - Oct 29th, 2010

(Oct 15th, 2010, 7:01 AM)clslate Wrote: Having the same problem after upgrading Form Tools and the Swift Mail module.

In the Swift Mailer config set up, I can send test mails to myself successfully. But with my form, I get this error - never goes to my confirmation page and never sends an email. Unable to send test emails from the form edit area - just from withing the Swift Mailer configuration panel.

Desperate for immediate help.

=========
Update:

Had to turn Swift Mailer off and the default php mailer was working - but after a null registration went through, even that stopped working.

Desperate for help.

Lasted Form Tool Upgrades installed.

Windows 2003 Server Enterprise
MySQL Version 4.1.22

PHP Version 4.4.7

I went to line 237 in the offending file and commented out that section. It got rid of the error but it doesn't return to the page. It also doesn't affect the form submission. The form gets submitted.