I had this same error and patched it by editing the file modules/CRM/Roundcube/applet_refresh.php
and changing
foreach($l as $msg) {
$unseen[] = htmlspecialchars(imap_utf8($msg->from)).': <i>'.htmlspecialchars(imap_utf8($msg->subject)).'</i>';
}
to
foreach($l as $msg) {
if(isset($msg->subject)){
$subject = $msg->subject;
}
else{
$subject = '[no subject]';
}
$unseen[] = htmlspecialchars(imap_utf8($msg->from)).': <i>'.htmlspecialchars(imap_utf8($subject)).'</i>';
}
You can make these edits in just about any text editor.
I know there is a better way to fix this, but I didn't want to edit any of the core classes. Hope this helps. 😃