Support » Plugin: Events Made Easy » [Plugin: Events Made Easy] Fatal Error

  • Resolved chemcom



    I am having problems on a client’s site and I’m not sure how to fix it. When a user goes to book a space in an event, after clicking the ‘Book Now’ button they either receive ‘You entered an incorrect code’ – which is not the case as I have done this myself many times to check, or they see:

    Fatal error: Call to undefined method SMTP::getError() in /home/womensba/public_html/wp-includes/class-phpmailer.php on line 2119

    The site is at

    At this point, no one is able to register for events which is not good for business. Please help! Thank you.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Franky


    This is a wordpress maintained file and thus a bugreport you should be making to the wordpress team.
    But to help you along: since your setup seems to be hitting a SMTP error, check your EME settings for mailserver and such, and make sure your webserver has access to the mailserver you specified. If you’re unsure about the settings: ask your web admin tech guy.

    Would this type of issue be relevant to a self-hosted WordPress site using GoDaddy?

    Plugin Author Franky


    It is relevant to all wordpress installations sending mail via SMTP. I don’t have any experience with GoDaddy.
    As said: the error from the first post is an error in the phpmailer class used by wordpress. The fact that the reporter hits the error is because he had SMTP issues connecting to his/her mailserver from the webserver.

    Franky, GoDaddy is the world’s largest web hosting provider, like BlueHost or HostGator. E-mail going through a domain name such as would relay through the web hosting provider. Since e-mail messages are being relayed and servers are involved, it seems logical to assume and similar e-mail domain addresses would be effected.

    What I’m asking is would this glitch effect e-mails being sent through domain name relays or e-mail addresses such as or Gmail and Yahoo e-mail services use relays and servers as well, although differently. So does a “regular” e-mail address screw up this plugin’s effectiveness as well or is it just that the e-mail function to this plugin simply does not work?

    Plugin Author Franky


    As said: it’s just sending mails with a specific from address that you can configure yourself. If your wordpress can send mails, so can the plugin.

    Some hosts do make it so your scripts can’t send emails through smtp servers other than their own. If I remember right, which I may not, go daddy does do this.



    Forum Moderator

    In my experience, it tends to vary from server to server with GoDaddy – just to add to the confusion.

    Plugin Author Franky


    Well, that’s why the plugin allows you to specify a specific SMTP server to use, so you can use the one required by godaddy then.
    Most hosters require you to use their mail server (which seems very logical to me) and also provide you with the details on which mailserver to use in scripts (mostly localhost that’s being forwarded to their own mailservers and then to the internet).

    I 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.

    Plugin Author Franky


    See my response to your identical question here:

    a little followup: web site theme and events made easy plugin (EME) updated to current versions. the debug SMTP in EME showed no errors and email was accepted by mail server. But NO email was being received. We use Networksolutions.

    As it turns out, we were using … as the “Notification Sender address” in EME. Apparently disallows sending of email that is not sent from their domain. “Sender Policy Framework (SPF)”

    Plugin Author Franky


    Yeah, extra security checks.
    This means that the mailserver you configured doesn’t do those checks, but further down the chain some mailserver does the SPF check and refuses the mail.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: Events Made Easy] Fatal Error’ is closed to new replies.