[imp] PHP Fatal error on sorting a mailbox

Aria Bamdad aria at bsc.gwu.edu
Wed Dec 5 21:13:23 UTC 2012


Hi,



I am using Horde 5.02 with IMP 6.02 and have found what appears to be a bug
in the PEAR/Horde/Imap/Client/Socket/ClientSort.php module when sorting a
mailbox by the 'From' column AND when IMP is connected to an IMAP server
with the SORT capability turned off (or a server that does not support SORT
capability).



Sorting by the FROM column will result in PHP error:



PHP Fatal error:  Cannot use object of type Horde_Mail_Rfc822_Address as
array in /usr/share/php5/PEAR/Horde/Imap/Client/Socket/ClientSort.php on
line 225



I have confirmed this using two IMAP servers.  I connected to a Cyrus IMAP
server and used the  following setting in my IMP backends.local.php file:



$servers['imap']['capability_ignore'] = array('SORT');



Thanks,

Aria



More information about the imp mailing list