codebykat / wp-post-by-email

Post By Email plugin for WordPress
GNU General Public License v2.0
31 stars 11 forks source link

Catchable fatal error: Argument 3 passed to Horde_Imap_Client_Exception_ServerResponse::__construct() must be an instance of Horde_Imap_Client_Interaction_Server #3

Closed codebykat closed 11 years ago

codebykat commented 11 years ago

Reported via blog comment:

Sent a test email and clicked "Check Now" on activity log. The result which may well be related to some mistake I made in cofiguration was:

Catchable fatal error: Argument 3 passed to Horde_Imap_Client_Exception_ServerResponse::__construct() must be an instance of Horde_Imap_Client_Interaction_Server, string given, called in /home/icklnorg/public_html/wordpress3/wp-content/plugins/post-by-email/include/Horde/Imap/Client/Socket/Pop3.php on line 1179 and defined in /home/icklnorg/public_html/wordpress3/wp-content/plugins/post-by-email/include/Horde/Imap/Client/Exception/ServerResponse.php on line 55

vbk commented 10 years ago

Hello,

Getting an error:

"Catchable fatal error: Argument 3 passed to Horde_Imap_Client_Exception_ServerResponse::__construct() must be an instance of Horde_Imap_Client_Interaction_Server, integer given, called in/public_html/wp-content/plugins/post-by-email/include/Horde/Imap/Client/Socket.php on line 3946 and defined in /public_html/wp-content/plugins/post-by-email/include/Horde/Imap/Client/Exception/ServerResponse.php on line 55 "

No posts gets posted. I see this error when trying to check "logs". screenshot-http://i.imgur.com/C6uXPZt.png

Chosen type is imap ssl.

Hope you check!

codebykat commented 10 years ago

Hi @vbk,

What version of PHP are you using? Similar errors have popped up for folks using PHP 5.2. I'm working on a fix for the next version, but it's hard, PHP 5.2 has a lot of incompatibilities with the later versions. Can you upgrade to PHP 5.3 or 5.4 and let me know if that solves the problem?

barryceelen commented 10 years ago

I'm seeing the same error when the password either contains an angle bracket (<or >), or if I provide an incorrect password.

codebykat commented 10 years ago

Thanks @barryceelen -- that's good info. What version of PHP is that on?

barryceelen commented 10 years ago

PHP version 5.3.19, WordPress 3.9-alpha-27234.

codebykat commented 10 years ago

Argh, that's the first one I've seen on PHP 5.3. :cry: Added to the list.

vbk commented 10 years ago

Sorry for the delay. My PHP version is 5.4