I get the following warnings after submitting a new IMAP server.
Warning: Invalid argument supplied for foreach() in /var/www/core/modules/contrib/pontomail/pontomail.module on line 963
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /var/www/core/modules/contrib/pontomail/pontomail.module on line 1070Then there's a slight glitch in the UI since the NO TLS checkbox becomes (on the page after clicking) Enable TLS.
Finally when trying to subscribe to a folder (which is correctly listed, in spite of the warnings above), I get a
Error : Could not subscribe
with the following warnings:
Warning: imap_subscribe(): supplied argument is not a valid imap resource in /var/www/core/modules/contrib/pontomail/IMAPService.inc on line 118
Warning: imap_getmailboxes(): supplied argument is not a valid imap resource in /var/www/core/modules/contrib/pontomail/IMAPService.inc on line 92
Warning: imap_getsubscribed(): supplied argument is not a valid imap resource in /var/www/core/modules/contrib/pontomail/IMAPService.inc on line 109
Warning: Invalid argument supplied for foreach() in /var/www/core/modules/contrib/pontomail/pontomail.module on line 963
Warning: Invalid argument supplied for foreach() in /var/www/core/modules/contrib/pontomail/pontomail.module on line 1023
Warning: Invalid argument supplied for foreach() in /var/www/core/modules/contrib/pontomail/pontomail.module on line 1058
Warning: Invalid argument supplied for foreach() in /var/www/core/includes/form.inc on line 641.I use Drupal 4.7.2, with php5 and the imap c-client version reported in phpinfo is 2001
Comments
Comment #1
Souvent22 commentedAre you still getting these errors with the new cvs version?
Comment #2
Danimal commentedHi!
I'm getting the same errors. I just installed the CVS version as of this morning. The errors are:
BTW, it won't let me connect to INBOX, just INBOX.Drafts, INBOX.Sent, and INBOX.Trash. I'm trying to connect to an IMAP server that people normally connect to via SquirrelMail.
-Dan
Comment #3
Danimal commentedNote: I'm seeing these errors when I create a new server or click "edit" on an existing server in "My Account->E-Mail Accounts"
-Dan
Comment #4
mangz74 commentedI also get the same errors. I have tried every possible combinations. Does anyone have a fix for this?
Comment #5
miglius commentedHere is the fix.
Comment #6
Souvent22 commentedReopening. Will patch soon with this fix. Thanks guys.
Comment #7
Souvent22 commentedCommited
Comment #8
(not verified) commented