SuiteCRM 8.4.1 - Cron job succeeds but yields fatal error in logs

Good morning,

I’m setting up Inbound and Outbound emails in SuiteCRM 8.4.1.

I can read and send mails from suiteCRM, however the Cron job for checking inbound emails is generating some fatal errors which pop up in the logs:

Thu Nov  9 09:20:02 2023 [21669][1][FATAL] ImapHandler trying to use a non valid resource stream.
Thu Nov  9 09:20:02 2023 [21669][1][FATAL] ImapHandler trying to use a non valid resource stream.
Thu Nov  9 09:20:02 2023 [21669][1][FATAL] An Imap error detected: "IMAP search error"
Thu Nov  9 09:21:02 2023 [21696][1][FATAL] ImapHandler trying to use a non valid resource stream.
Thu Nov  9 09:21:02 2023 [21696][1][FATAL] ImapHandler trying to use a non valid resource stream.
Thu Nov  9 09:21:02 2023 [21696][1][FATAL] An Imap error detected: "IMAP search error"
Thu Nov  9 09:22:01 2023 [21722][1][FATAL] ImapHandler trying to use a non valid resource stream.
Thu Nov  9 09:22:01 2023 [21722][1][FATAL] ImapHandler trying to use a non valid resource stream.
Thu Nov  9 09:22:02 2023 [21722][1][FATAL] An Imap error detected: "IMAP search error"
Thu Nov  9 09:23:02 2023 [21746][1][FATAL] ImapHandler trying to use a non valid resource stream.
Thu Nov  9 09:23:02 2023 [21746][1][FATAL] ImapHandler trying to use a non valid resource stream.
Thu Nov  9 09:23:02 2023 [21746][1][FATAL] An Imap error detected: "IMAP search error"
Thu Nov  9 09:24:02 2023 [21770][1][FATAL] ImapHandler trying to use a non valid resource stream.
Thu Nov  9 09:24:02 2023 [21770][1][FATAL] ImapHandler trying to use a non valid resource stream.
Thu Nov  9 09:24:02 2023 [21770][1][FATAL] An Imap error detected: "IMAP search error"
Thu Nov  9 09:24:21 2023 [1085][1][FATAL] ImapHandler trying to use a non valid resource stream.
Thu Nov  9 09:24:21 2023 [1085][1][FATAL] ImapHandler trying to use a non valid resource stream.
Thu Nov  9 09:24:23 2023 [13286][1][FATAL] ImapHandler trying to use a non valid resource stream.
Thu Nov  9 09:24:23 2023 [13286][1][FATAL] ImapHandler trying to use a non valid resource stream.
Thu Nov  9 09:24:23 2023 [1083][1][FATAL] ImapHandler trying to use a non valid resource stream.
Thu Nov  9 09:24:23 2023 [1083][1][FATAL] ImapHandler trying to use a non valid resource stream.
Thu Nov  9 09:24:31 2023 [1085][1][FATAL] ImapHandler trying to use a non valid resource stream.
Thu Nov  9 09:24:31 2023 [1085][1][FATAL] ImapHandler trying to use a non valid resource stream.
Thu Nov  9 09:25:02 2023 [21939][1][FATAL] ImapHandler trying to use a non valid resource stream.
Thu Nov  9 09:25:02 2023 [21939][1][FATAL] ImapHandler trying to use a non valid resource stream.
Thu Nov  9 09:25:02 2023 [21939][1][FATAL] An Imap error detected: "IMAP search error"

The only odd behaviour I noticed is that I can’t seem to switch from my inbox to my sent emails or trash.
Disabling the cron job stops further periodic errors.
Opening the Emails module generates extra errors (more lines of the same).

Any guidance is greatly appreciated

Hi,

Have you found the solution?

90% Chance an inbound email is not configured properly and when the cron job runs it a checks inbound emails and fails. Even if you have one account not configured properly but active, you’ll get this.

There is an ongoing discussion on the same issue at

1 Like