WordPress.org

Forums

Post By Email
Fatal Error using Check Now (8 posts)

  1. Fonglespore
    Member
    Posted 1 year ago #

    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/

  2. Fonglespore
    Member
    Posted 1 year ago #

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

  3. Kat Hagan
    Member
    Plugin Author

    Posted 1 year ago #

    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!

  4. Fonglespore
    Member
    Posted 1 year ago #

    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?

  5. Kat Hagan
    Member
    Plugin Author

    Posted 1 year ago #

    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]

  6. Fonglespore
    Member
    Posted 1 year ago #

    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.

  7. Kat Hagan
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  8. machacek76
    Member
    Posted 9 months ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Post By Email
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.