Package: php-horde-imp
Version: 6.2.27-3

Hi,

Horde still uses the obsolete each() function.
https://www.php.net/manual/en/function.each.php

Example from /usr/share/horde/imp/lib/Ajax/Application/ListMessages.php,
line 438:

        while (list(,$ob) = each($overview['overview'])) {
             ...
        }

This function has been deprecated since 7.2, and has now been removed
completely in php-8.2 (as shipped by Debian 12).

Which means that horde is basically unusable right now.

What makes this hard to debug is that most instances of it only leave a
mysterious "Error when communication with the server" error. Some
occurrences fortunately then leave additional details in
/var/log/horde.log . Others however have *only* the "Error when
communication with the server" without any further details elsewhere.

N.B. The problem occurs right after log in, when Horde / IMP attempts to
display mailbox, so is really not hard to reproduce!

Thanks for addressing this,

Alain

Reply via email to