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

Created:

2016-11-16 12:55:39 UTC

Modified:

2017-04-24 11:33:58 UTC

0

Was this article helpful?


Have more questions?

Submit a request

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

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux

Symptoms

I cannot login to Horde, the following error appears:

stderr: PHP Fatal error:  Call to a member function write() on a non-object in /usr/share/psa-pear/pear/php/Horde/Imap/Client/Socket.php on line 4059, referer: http://webmail.domain.tld/login.php

Cause

Possible reason is broken file /usr/share/dhparams.pem .

Resolution

Please check this file, make sure that it exists. Recreate it with command below if necessary:

    # openssl dhparam -outform PEM -out dhparams.pem 1024
Have more questions? Submit a request
Please sign in to leave a comment.