On 03/16/2015 10:04 PM, Rodrigo Santellan wrote:
My problem is that running roundcube in console with only the framework works like a charm but when I try to put in a Symfony2 project I have undefined $index on rcube_imap_cache.
So, Symphony2 uses different error_reporting setting?
The line is this: $this->add_index_row($mailbox, $sort_field, $data, $mbox_data, $exists, $index['modseq']);
$index comes from get_index_row(). We can replace $index['modseq'] here with:
$index && !empty($index['modseq']) ? $index['modseq'] : $mbox_data['HIGHESTMODSEQ']
which is actually what add_index_row() does.