Page 1 of 1
Error after upgrading
Posted: 05 Feb 2019, 20:56
by jankorshavn
After upgrading to the latest version of Download (3.1.7), this message is showing:
Warning: count(): Parameter must be an array or an object that implements Countable in /customers/..../components/com_phocadownload/views/category/tmpl/default.php on line 98
Any suggestions or a solution? Running Joomla 3.9.2 and PHP 7.1
Re: Error after upgrading
Posted: 06 Feb 2019, 00:19
by Jan
Hi, are you sure, you run the version 3.1.7 and your files were not edited. There is no such function (count) on line 98 in category default.php file
Jan
Re: Error after upgrading
Posted: 09 Feb 2019, 14:54
by jankorshavn
Yes, I downloaded it fresh and installed it. And I never edit any files! Still I see this warning..
Re: Error after upgrading
Posted: 10 Feb 2019, 23:59
by Jan
Does really the error message renders with:
"Warning: count(): Parameter must be an array or an object that implements Countable in /customers/..../components/com_phocadownload/views/category/tmpl/default.php on line 98"
On line 98 in default.php is:
Code: Select all
echo $this->loadTemplate('files');
No count function there ???
Can you paste here a screenshot of your line 98
(components/com_phocadownload/views/category/tmpl/default.php open in editor and make a screenshot of line 98)
Jan
Re: Error after upgrading
Posted: 19 Apr 2019, 18:57
by Jan