Hello,
I get this error message when adding menu link to phocadownload categories, and if I try to link to only one file only nothing is displayed except for Powered by Phoca Download
Warning: count(): Parameter must be an array or an object that implements Countable in /home/webgraf/public_html/webgrafdev.com/ftp2018/reijq/components/com_phocadownload/views/category/tmpl/default.php on line 105
http://webgrafdev.com/webgrafdev.com/ft ... gory/5-psi
Thank you for your cooperation
Error message : Warning: count(): Parameter must be an array
- michoupotvin
- Phoca Newbie
- Posts: 1
- Joined: 02 Aug 2018, 17:19
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error message : Warning: count(): Parameter must be an array
Hi, which version of Phoca Download do you use?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 09 Aug 2018, 20:14
Re: Error message : Warning: count(): Parameter must be an array
I have same problem, my version of Phoca Download is 3.1.4, PHP version on server is 7.2 / when change version PHP to 7.1, the warning message is out, but cant download files.
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error message : Warning: count(): Parameter must be an array
Hi, thank you for info, there warning is not a fatal error, it should not have any influence on downloading the items 
Jan

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 09 Aug 2018, 20:14
Re: Error message : Warning: count(): Parameter must be an array
yes, the message is not fatal and the component works well, but the site owner wants to NO have this message.
-
- Phoca Hero
- Posts: 2857
- Joined: 28 Nov 2010, 17:20
Re: Error message : Warning: count(): Parameter must be an array
Hi,
then go to: System > Global Configuration > Server > Error Reporting > None
Kind regards
Christine
then go to: System > Global Configuration > Server > Error Reporting > None
Kind regards
Christine
-
- Phoca Newbie
- Posts: 3
- Joined: 09 Aug 2018, 20:14