Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8.0.3 with roundcube -git master - Fatal Errors #7931

Closed
reubenfarrelly opened this issue Mar 10, 2021 · 1 comment
Closed

PHP 8.0.3 with roundcube -git master - Fatal Errors #7931

reubenfarrelly opened this issue Mar 10, 2021 · 1 comment

Comments

@reubenfarrelly
Copy link

This is with -git master as of today 10 March:

[10-Mar-2021 17:17:18 Australia/Sydney] PHP Fatal error: Uncaught ValueError: max(): Argument #1 ($value) must contain at least one element in /var/www/roundcube.reub.net/htdocs/program/lib/Roundcube/rcube_result_index.php:192
Stack trace:
#0 /var/www/roundcube.reub.net/htdocs/program/lib/Roundcube/rcube_result_index.php(192): max()
#1 /var/www/roundcube.reub.net/htdocs/program/lib/Roundcube/rcube_imap.php(787): rcube_result_index->max()
#2 /var/www/roundcube.reub.net/htdocs/program/lib/Roundcube/rcube_imap.php(1348): rcube_imap->countmessages()
#3 /var/www/roundcube.reub.net/htdocs/program/actions/mail/check_recent.php(87): rcube_imap->folder_status()
#4 /var/www/roundcube.reub.net/htdocs/program/include/rcmail.php(275): rcmail_action_mail_check_recent->run()
#5 /var/www/roundcube.reub.net/htdocs/index.php(279): rcmail->action_handler()
#6 {main}
thrown in /var/www/roundcube.reub.net/htdocs/program/lib/Roundcube/rcube_result_index.php on line 192
[10-Mar-2021 21:11:43 Australia/Sydney] PHP Warning: Undefined variable $port in /var/www/roundcube.reub.net/htdocs/index.php on line 79

It appears to break checking of emails in mailboxes.

The imap server is a local Dovecot-2.3.14 on a Gentoo Linux installation with Apache and php-8.0.3.

@alecpl
Copy link
Member

alecpl commented Mar 10, 2021

Fixed.

@alecpl alecpl closed this as completed Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants