Author Topic: PHP Warning: fclose() expects parameter  (Read 3407 times)

Offline mtntescil

  • Newbie
  • *
  • Posts: 2
PHP Warning: fclose() expects parameter
« on: March 27, 2015, 06:23:59 PM »
When I logging to Roundcube on CPanel, its sayin:

Unexpected condition from IMAP server, closed or corrupt connection to IMAP. Possible mailbox corruption.

I checked my logs and i have this errors. How can i fix this problem?

[28-Mar-2015 00:18:26 Europe/Helsinki] PHP Warning:  fclose() expects parameter 1 to be resource, null given in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_imap_generic.php on line 219

Thank you :)

Offline mtntescil

  • Newbie
  • *
  • Posts: 2
Re: PHP Warning: fclose() expects parameter
« Reply #1 on: March 27, 2015, 06:25:41 PM »
[28-Mar-2015 00:16:23 Europe/Helsinki] Unexpected condition from IMAP server, closed or corrupt connection to IMAP. Possible mailbox corruption.
[28-Mar-2015 00:16:23 Europe/Helsinki] PHP Warning:  fclose() expects parameter 1 to be resource, null given in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_imap_generic.php on line 219
[28-Mar-2015 00:17:23 Europe/Helsinki] Unexpected condition from IMAP server, closed or corrupt connection to IMAP. Possible mailbox corruption.
[28-Mar-2015 00:17:23 Europe/Helsinki] PHP Warning:  fclose() expects parameter 1 to be resource, null given in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_imap_generic.php on line 219
[28-Mar-2015 00:18:13 Europe/Helsinki] Unexpected condition from IMAP server, closed or corrupt connection to IMAP. Possible mailbox corruption.
[28-Mar-2015 00:18:13 Europe/Helsinki] PHP Warning:  fclose() expects parameter 1 to be resource, null given in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_imap_generic.php on line 219
[28-Mar-2015 00:18:23 Europe/Helsinki] Unexpected condition from IMAP server, closed or corrupt connection to IMAP. Possible mailbox corruption.
[28-Mar-2015 00:18:23 Europe/Helsinki] PHP Warning:  fclose() expects parameter 1 to be resource, null given in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_imap_generic.php on line 219
[28-Mar-2015 00:18:23 Europe/Helsinki] Unexpected condition from IMAP server, closed or corrupt connection to IMAP. Possible mailbox corruption.
[28-Mar-2015 00:18:23 Europe/Helsinki] PHP Warning:  fclose() expects parameter 1 to be resource, null given in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_imap_generic.php on line 219
[28-Mar-2015 00:18:24 Europe/Helsinki] Unexpected condition from IMAP server, closed or corrupt connection to IMAP. Possible mailbox corruption.
[28-Mar-2015 00:18:24 Europe/Helsinki] PHP Warning:  fclose() expects parameter 1 to be resource, null given in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_imap_generic.php on line 219
[28-Mar-2015 00:18:26 Europe/Helsinki] Unexpected condition from IMAP server, closed or corrupt connection to IMAP. Possible mailbox corruption.
[28-Mar-2015 00:18:26 Europe/Helsinki] PHP Warning:  fclose() expects parameter 1 to be resource, null given in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_imap_generic.php on line 219


All errors on top:

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,328
Re: PHP Warning: fclose() expects parameter
« Reply #2 on: March 28, 2015, 01:03:39 PM »
That message says the problem is on your IMAP server. Try checking your IMAP server logs for more info.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦