Count Error displaying on front-end file list pages

Phoca Download - download manager
itpates
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 01 Nov 2018, 19:59

Count Error displaying on front-end file list pages

Post by itpates »

On pages listing files by category, I am seeing this error between the list of files and the pagination:

Warning: count(): Parameter must be an array or an object that implements Countable in /home/[self-censored]/secure_html/components/com_phocadownload/views/category/tmpl/default.php on line 105

I installed the latest version of Phoca Download and the error persists. I tried turning off pagination but the error remained.

PHP version: 7.2
MySQL 5.7

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

Re: Count Error displaying on front-end file list pages

Post by christine »

Hi,

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

Kind regards
Christine
itpates
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 01 Nov 2018, 19:59

Re: Count Error displaying on front-end file list pages

Post by itpates »

Thanks. It didn't seem to be breaking anything, so rather than editing code, I tweaked the warning level. It had been set to Maximum for some reason.
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Count Error displaying on front-end file list pages

Post by christine »

OK. Thanks for feedback.
Kind regards
Christine
Post Reply