Closed persianpros closed 4 years ago
Yes, that fixes the warning but the problem is that notification gets empty data and therefore it fails to render correctly.
Anyway, thanks for the fix and I'll integrate when I have the main problem solved.
Yeah that wasn't a fix, I just changed
$level = E_ALL & ~E_NOTICE & ~E_DEPRECATED;
to
$level = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_WARNING;
in include/startup.php to silence the warnings but the thank list is empty in phpBB 3.3.0 :(
…t implements Countable warning
Fixes: [phpBB Debug] PHP Warning: in file [ROOT]/ext/gfksx/ThanksForPosts/notification/thanks.php on line 109: sizeof(): Parameter must be an array or an object that implements Countable