Events Made Easy › Forums › Generic › Set up Guide? And a Fatal Error on Booking
Tagged: class.phpmailer.php, Fatal Error, phpmailerException, set up guide, smtp settings, wp-includes/class-phpmailer.php
- This topic has 11 replies, 3 voices, and was last updated 11 years, 8 months ago by Franky.
-
AuthorPosts
-
Mon 18 Feb 2013 at 12:24 #43931AnonymousInactive
At http://wordpress.org/extend/plugins/events-made-easy/installation/ it says to follow the directions in the Usage Section. Could you point me to where I would find the usage section? I have looked and looked!
I get this when I attempt to book: Fatal Error: Call to undefined method SMTP::getError() in /home/stopendo/public_html/indiesocialclub.com/wp-includes/class-phpmailer.php on line 2119
The plugin is going in at http://indiesocialclub.com/events/. So far the main bumps I am into is the visual editor for the event is not working and neither is the add an event image capability
Mon 18 Feb 2013 at 13:29 #50217FrankyKeymasterWhich version of wordpress are you using?
Also: the fact that wp-includes/class-phpmailer.php gives an error, should be reported to wordpress (it’s their phpmailer class). Now the fact that the class wants to show an error means your smtp settings are not correct, you should check which smtp server your webserver can use.
Concerning the visual editor not working: either an old version of WP or some other plugin is causing jquery errors (look in your browser console for this).
Concerning the usge section: you’re right, it should be removed and point to the doc site:
Mon 18 Feb 2013 at 13:47 #50218AnonymousInactiveI am using WordPress 3.5.1.
“… you should check which smtp server your webserver can use…” Should I ask my host tech support this question: “My smtp settings are not correct (telling them of the error). I would like to check which smtp server my webserver can use. Could you help me with this?” Do you imagine that would get it sorted out?
I have turned off every single plugin other than events made easy and activated twenty-eleven and the visual editor is still not on.
re: wp-includes/class-phpmailer.php not working correctly. Could I have a corrupt installation of wordpress? Would it be a good idea to reinstall?
Thanks for the fast response and for the link to the usage section.
Mon 18 Feb 2013 at 13:56 #50219FrankyKeymaster– Yes, your provider can help with the smtp settings you should use (or you can try to use the php mail() function, that’s also an option for EME)
– No, the phpmailer error issue will not be solved by a re-install, it’s a bug in their class (I think). I’ll try to reproduce and see what gives.
– Regarding the visual editor: it should just work. what does your browser error console say? Or mail be a admin login so I can check: liedekef [at] telenet.be
Mon 18 Feb 2013 at 13:59 #50220FrankyKeymasterConcerning the phpmailer error: in the past wordpress had issues with the smtp class, so I copied it locally and corrected it. But since then, they updated their phpmailer so probably the error is solved, and I just can delete the class-smtp.php file locally. That might solve the phpmailer issue, but I need to check it, moving to Bugs for this.
Mon 18 Feb 2013 at 16:26 #50221AnonymousInactiveI have sent you an admin id and pw to that address. This via the wordpress add user dash. I will also email you ftp info. Search subject line FTP Franky. Preparing this now.
(Edit) Now sent.
Mon 18 Feb 2013 at 19:39 #50222FrankyKeymasterYou have the same issue as
So probably what that guy did solves it for you too:
“Never mind, I just overwrote the WP-Admin and WP-Includes folders and it fixed my problem”
Mon 18 Feb 2013 at 20:59 #50223AnonymousInactiveWell, I just did that and did not have the same good fortune. Still no visual editor, still the same error upon clicking the book me button.
Mon 18 Feb 2013 at 22:06 #50224FrankyKeymasterI tested it my deactivating EME, then you still have the same issue with the rich editor for normal pages and posts. So this is unfortunately not a EME issue, but more a general wordpress issue. I would recommend to really reinstall all wordpress files.
For the booking mailing “error” issue: this has nothing to do with the rich editor issue, nor with the mailing issue in itself. You really should use the correct smtp settings your provider gives you. The error itself will be correctly shown in the next version, but it will still be an error if you don’t use the correct smtp settings.
Mon 18 Feb 2013 at 22:35 #50225FrankyKeymasterThis is now in the development version:
“you can now activate SMTP debugging if you have issues when sending mail via SMTP”
Wed 13 Mar 2013 at 17:39 #50226AnonymousInactiveI was getting
Fatal error: Call to undefined method
SMTP::getError() ../../wp-includes/class-phpmailer.php on line 2119
discovered it to be a version conflict, old EME 1.0.6 and new WP. 3.5.1
I have upgraded EME to 1.0.18 “undefined method” error went a way and looking at smtp debug output it seems two emails are sent as expected but only one email is delivered.
BUT, I now have a new error:
Fatal error: Cannot redeclare class phpmailerException in
../../wp-content/themes/showtime/freshwork/functions/class.phpmailer.php on line 2319
My PHP experience is limited to five lines of code written five years ago. It seems there are mulitple copies of class.phpmailer.php loaded by different parts of WordPress, plugin, themes, etc.
I would appreciate some guidance on what to fix, where.
Wed 13 Mar 2013 at 19:58 #50227FrankyKeymasterIt seems your theme also ships phpmailer, instead of using the WP one. That’s causing this issue. Talk to your theme guy.
-
AuthorPosts
- The forum ‘Generic’ is closed to new topics and replies.