Page 1 of 1

Count Error displaying on front-end file list pages

Posted: 01 Nov 2018, 20:04
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

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

Posted: 01 Nov 2018, 20:33
by christine
Hi,

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

Kind regards
Christine

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

Posted: 01 Nov 2018, 21:15
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.

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

Posted: 02 Nov 2018, 00:08
by christine
OK. Thanks for feedback.
Kind regards
Christine