Horde webmail fails with error - Call to a member function write() on a non-object in Socket.php on line 4428

Created:

2016-11-16 12:47:09 UTC

Modified:

2017-06-05 06:07:27 UTC

0

Was this article helpful?


Have more questions?

Anfrage einreichen

Horde webmail fails with error - Call to a member function write() on a non-object in Socket.php on line 4428

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux
  • Plesk 11.5 for Linux

Symptoms

  • courier-imap is used as Horde backend.

  • Login to Horde with correct username and wrong password fails with the following confusing error message:

    A fatal error has occurred
    Call to a member function write() on a non-object
    Details have been logged for the administrator.
    
  • /var/log/psa-horde/psa-horde.log contain this error message:

    EMERG: HORDE [imp] Call to a member function write() on a non-object [pid 8942 on line 4428 of "/usr/share/psa-pear/pear/php/Horde/Imap/Client/Socket.php"]
    

Cause

This product issue is registered with id #PPPM-3081 and it will be fixed in further Plesk updates.

Resolution

There are several possible workarounds:

  1. Remove AUTH=PLAIN from IMAP_CAPABILITY in /etc/courier-imap/imapd and /etc/courier-imap/imapd-ssl .

  2. Switch from courier-imap to dovecot .

  3. Apply the patch :

    # wget --output-document=/root/horde.patch http://kb.plesk.com/Attachments/kcs-54634/horde.patch
    # patch --backup --verbose --input=/root/horde.patch /usr/share/psa-pear/pear/php/Horde/Imap/Client/Socket.php
    

    The ' usr/share/psa-pear/pear/php/Horde/Imap/Client/Socket.php.orig ' backup file will be created during the patching process.

Attachments:

Haben Sie Fragen? Anfrage einreichen
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.