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 warnings in v3.2.17 #50

Open
gRegorLove opened this issue Mar 26, 2020 · 2 comments
Open

PHP warnings in v3.2.17 #50

gRegorLove opened this issue Mar 26, 2020 · 2 comments

Comments

@gRegorLove
Copy link

phpBB: 3.2.8
Digests: 3.2.17

When I ran the manual mailer, I noticed this PHP warning message:

[phpBB Debug] PHP Warning: in file [ROOT]/ext/phpbbservices/digests/cron/task/digests.php on line 1105: count(): Parameter must be an array or an object that implements Countable

This appears to be the count($pm_rowset) when adding to the admin log (Line 1105).

I tried turning off the digest setting "show email address in log," but I get the same warning except at line 1109 then.

@gRegorLove
Copy link
Author

@MarkDHamill I just updated to Digests 3.3.1 and I'm still getting this warning, different line.

[phpBB Debug] PHP Warning: in file [ROOT]/ext/phpbbservices/digests/cron/task/digests.php on line 1063: count(): Parameter must be an array or an object that implements Countable

@MarkDHamill
Copy link
Owner

Install from master which is a prerelease of 3.3.2. I think this change solves the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants