The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
|
Fatal error: Call to a member function setCharset() on a non-object - 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: Call to a member function setCharset() on a non-object (/showthread.php?tid=2170) |
Fatal error: Call to a member function setCharset() on a non-object - fejomite - Aug 31st, 2012 Hi Everyone, I have enable SwiftMailer and sent a test successfully, but when i try a form submission I get this error: Fatal error: Call to a member function setCharset() on a non-object in /home/congrega/public_html/cms/tributedinner/form_manager/modules/swift_mailer/library.php on line 237 And the corresponding line in the library file is - $email->setCharset($settings["charset"]); I am lost here, so any help would be appreciated. RE: Fatal error: Call to a member function setCharset() on a non-object - zoltandragon - Sep 17th, 2012 Same problem here - is there any solution to this problem? Thankx RE: Fatal error: Call to a member function setCharset() on a non-object - jaqy - Aug 6th, 2013 My form was working fine, using swiftmailer, then randomly started throwing this same error. When I disable SwiftMailer, it works. But the email doesnt sent. Any ideas? RE: Fatal error: Call to a member function setCharset() on a non-object - LetsFly - Feb 15th, 2015 I just had this same error. In my case, it was because I did not complete the email tab for the form. Log into FormTools > Forms > Form w/ Problem > Edit Form > Email Tab >> Fill It In! |