Page 1 of 1

warning at execution time :"count(): Parameter must be an array..."

Posted: 11 Dec 2019, 15:41
by alpheratz
Hello
I have installed and configured phoca download (nice stuff, by the way).
When I activate the link on the menu link, it displays the catégorie/file list, but together with a warning :

"Warning: count(): Parameter must be an array or an object that implements Countable in /home/clients/blablabla/web/components/com_phocadownload/views/category/tmpl/default.php on line 105"

Is there anything I can do to fix this issue?

thanks

Re: warning at execution time :"count(): Parameter must be an array..."

Posted: 11 Dec 2019, 16:32
by christine
Hi,

the reason might be using not the latest versions.
I.e. Joomla Version 3.9.13
PD Version: https://www.phoca.cz/download/category/ ... -component
Which PHP version are you using?

Kind regards
Christine

Re: warning at execution time :"count(): Parameter must be an array..."

Posted: 11 Dec 2019, 16:41
by alpheratz
Hi Christine
Sorry, it was a newbie mistake :-(
Problem solved by installing the latest release

I marked the issue as solved manually ( I don't know If i'm smart enough to activate the "solved" green tag :-)

Thanks for the help

Re: [solved ]warning at execution time :"count(): Parameter must be an array..."

Posted: 11 Dec 2019, 18:30
by christine
Hi alpheratz,
Thats' fine, that you could solve it. That's why I wrote the 1st. sentence :-)

Sadly you can't mark green tag - but Thanks for your feedback!

Kind regards
Christine