WordPress.org

Support

Support » Plugins and Hacks » Fatal Error using Check Now

Fatal Error using Check Now

  • Fonglespore
    Member

    @fonglespore

    Just installed the plugin & WP_DEBUG gives this fatal error when I was testing the plugin manually:

    Fatal error: Call to a member function getHeaderText() on a non-object in /var/www/cybc/wp-content/plugins/post-by-email/class-post-by-email.php on line 558

    I’m using PHP v5.3.10

    http://wordpress.org/plugins/post-by-email/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Fonglespore
    Member

    @fonglespore

    Using v1.0.4b of the plugin by the way.

    Plugin Author Kat Hagan
    Member

    @codebykat

    Hmm, that doesn’t sound good. :/ Can you tell me more about your configuration? IMAP or POP3? SSL or not? Were there any emails to be fetched at the time, or was it checking an empty inbox?

    You said this happened when checking mail manually; does it work on an automatic check? Does it happen every time you check mail, or did it just happen once?

    Thanks!

    Fonglespore
    Member

    @fonglespore

    I’m using POP3. No SSL. There’s a few test emails waiting to download – just checked that my settings were correct using Thunderbird to connect – downloaded the messages perfectly. The auto checking hasn’t worked either.

    Happens every time – just checked again now.

    It’s a linux server – are there any server logs I could check for messages?

    Plugin Author Kat Hagan
    Member

    @codebykat

    Hmmmmmm. Well, I think I know what’s happening, but I don’t know *why* it’s happening. (It sounds like it is trying to retrieve message headers for a message that no longer exists… but where it’s coming up with a nonexistent message ID is a really good question.)

    Does your mail server support IMAP? POP3, as the older and less reliable mail protocol, can cause problems in some configurations. I’m curious if this error would happen on IMAP, too — maybe you can switch to that and try it?

    Come to think of it, what mail host / mail server software are you using? I wonder if it’s providing the message UUID in a different format or something.

    As far as your system logs are concerned, probably won’t be anything useful in there, but what I can do is add a check in the code to catch that error and spit out some more information about it. Are you comfortable installing a beta version of the plugin from a tarfile?

    [edited: repeating myself]

    Fonglespore
    Member

    @fonglespore

    The mail server (and I’ve no idea what the software is) doesn’t support IMAP, so that’s not an option.

    As it happens, the site’s current hosting account doesn’t even support PHP5, so when the site I’m working on goes live, it’ll have to shift to a new hosting server which should have IMAP on the mail side.

    So, in the end, this is probably a non issue.

    Plugin Author Kat Hagan
    Member

    @codebykat

    Alright. Well, the next version of the plugin will do a better job of catching some of the weirdness around PHP 5.2. I’ll update this thread when version 1.1 is live, so you can test it out if you haven’t changed hosts yet.

    machacek76
    Member

    @machacek76

    Is it a new version? Or, when it is expected that it would be. Plugin will not connect via imap. When connecting via pop3, the emails are not downloaded during a test fails on the line 558.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Fatal Error using Check Now’ is closed to new replies.