php-imap2 icon indicating copy to clipboard operation
php-imap2 copied to clipboard

fclose() error

Open cjwnz opened this issue 2 years ago • 3 comments

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?

cjwnz avatar Mar 23 '23 17:03 cjwnz

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

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

timrasche avatar Feb 22 '24 11:02 timrasche

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

williamdes avatar Feb 22 '24 12:02 williamdes