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

Phoca Download - download manager
alpheratz
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 11 Dec 2019, 15:33

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

Post 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
Last edited by alpheratz on 11 Dec 2019, 16:42, edited 1 time in total.

Tags:
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

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

Post 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
alpheratz
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 11 Dec 2019, 15:33

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

Post 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
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

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

Post 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
Post Reply