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 Warning: count(): Parameter must be an array or an object that implements Countable in /home/roundcube/program/steps/mail/mark.inc on line 73 #6360

Closed
ghost opened this issue Jul 23, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 23, 2018

Need to fixing this with PHP 7.2:

PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/roundcube/program/steps/mail/mark.inc on line 73

Warning appears when the folder does not contain any messages.

Need to use is_array() function before.

@alecpl alecpl added this to the 1.3.7 milestone Jul 26, 2018
@alecpl
Copy link
Member

alecpl commented Jul 26, 2018

Fixed as part of #6307.

@alecpl alecpl closed this as completed Jul 26, 2018
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

1 participant