javanile / php-imap2

PHP IMAP with OAUTH2
https://php-imap2.javanile.org/
GNU General Public License v3.0
48 stars 28 forks source link

fclose() error #52

Open cjwnz opened 1 year ago

cjwnz commented 1 year ago

Hi, I'd like to report the following error running under PHP 8.0.28: (xxx represents removed values)

PHP Fatal error: Uncaught TypeError: fclose(): Argument #1 ($stream) must be of type resource, null given in /xxx/php-imap2/javanile/php-imap2/src/Roundcube/ImapClient.php:442 Stack trace:

0 /xxx/php-imap2/javanile/php-imap2/src/Roundcube/ImapClient.php(442): fclose(NULL)

1 /xxx/php-imap2/javanile/php-imap2/src/Roundcube/ImapClient.php(1183): Javanile\Imap2\Roundcube\ImapClient->closeSocket()

2 /xxx/php-imap2/javanile/php-imap2/src/Roundcube/ImapClient.php(1017): Javanile\Imap2\Roundcube\ImapClient->closeConnection()

3 /xxx/php-imap2/javanile/php-imap2/src/Connection.php(133): Javanile\Imap2\Roundcube\ImapClient->connect('outlook.office3...', 'xxx', 'xxx', Array)

4 /xxx/php-imap2/javanile/php-imap2/src/Connection.php(76): Javanile\Imap2\Connection->connect()

5 /xxx/php-imap2/javanile/php-imap2/bootstrap.php(250): Javanile\Imap2\Connection::open('{outlook.office...', 'xxx', 'xxx', 512, 1, Array)

When is next release of php-imap2 expected?

timrasche commented 6 months ago

Still there, no pull requests are handling, no response from author.

sorry but im out. Package will removed from my source list.

williamdes commented 6 months ago

Same I moved to weblex php imap https://github.com/wdes/mails.wdes.eu/blob/main/tests/php/tests/SendAndReceiveTest.php