Warning: count (): parameter must be an array or object that implements countable

Phoca Download - download manager
dercg
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 21 Dec 2018, 10:37

Warning: count (): parameter must be an array or object that implements countable

Post by dercg »

Hello,

I get the following message from Phoca Download when I open a category:

Warning: count (): parameter must be an array or object that implements countable in components / com_phocadownload / views / category / tmpl / default.php on line 105

Code from line 105:
if (count ($ this-> category [0])) {
echo $ this-> loadTemplate ('pagination');
}


Can someone tell me exactly what I need to adjust in this line?

many Greetings
christine
Phoca Hero
Phoca Hero
Posts: 2857
Joined: 28 Nov 2010, 17:20

Re: Warning: count (): parameter must be an array or object that implements countable

Post by christine »

Hi,

see here please: viewtopic.php?f=31&t=58787

Kind regards
Christine
Post Reply