Article ID: 123027, created on Sep 29, 2014, last review on Dec 7, 2014

  • Applies to:
  • Plesk 12.0 for Linux
  • Plesk 11.5 for Linux


Horde webmail is not working after the PHP 5.4.33 update:

  • The login process is slow
  • Emails are not displayed and sometimes login fails with the error: "Mail server closed the connection unexpectedly"
  • Once logged in and clicking the "Email" link, the page does not load. Instead, after a long delay, users are sent back to the login screen with an error message. The web server's error_log file contains:

    Call to a member function getUid() on a non-object in /usr/share/psa-pear/pear/php/Horde/Imap/Client/Socket.php on line 1506


The root cause of this issue is a PHP bug:

The affected PHP version is built by Atomic and installed from this repository. PHP builds from other repositories could also be affected.


You can use one of the following methods to work around the issue:

  • Downgrade to PHP 5.4.32

    yum downgrade $(rpm -qa --qf "%{NAME}\n" | grep -v ioncube | grep ^php | awk '{print $1"-5.4.32"}') -y 
  • Temporarily change the IMAP configuration in Horde webmail:

    1. Edit '/usr/share/psa-horde/imp/config/backends.php'
    2. Change 'secure' => 'tls' to 'secure' => 'none' (see below):

      // IMAP server
      $servers['imap'] = array(
          // ENABLED by default; will connect to IMAP port on local server
          'disabled' => false,
          'name' => 'IMAP Server',
          'hostspec' => 'localhost',
          'hordeauth' => false,
          'protocol' => 'imap',
          'port' => 143,
          // Plaintext logins are disabled by default on IMAP servers (see RFC 3501
          // [6.2.3]), so TLS is the only guaranteed authentication available by
          // default.
          'secure' => 'none',  // <------ this one was changed from 'tls' to 'none'

Search Words

plesk php 5.4.33

Since last update to plesk12 service webmail-->horde not operating properly

slow login

no input file specified

WebMail Horde email not showing

Mail server closed the connection unexpectedly.

Plesk nont working after upgrade

access failed

plesk 12 horde

horde login failed

login fail error

horde loading incomplete

HORDE [imp] Mail server closed the connection unexpectedly.

horde webmail login is not working

line 570 of "/usr/share/psa-horde/imp/lib/Imap.php"


horde slow

unable to update zend

webmail is not working

The mail server closed the connection unexpectedly

horde broken

plesk update failed

mod_fcgid: stderr: PHP Fatal error: Call to a member function getUid() on a non-object

horde doesnt work

horde loads login page when clicking New Message


horde not working after plesk 12 update

PHP Fatal error: Call to a member function on a non object

Der E-Mail-Server hat die Verbindung unerwartet unterbrochen

plesk 12 horde not showing mail

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 01bc4c8cf5b7f01f815a7ada004154a2 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7

Email subscription for changes to this article
Save as PDF