Page 1 of 1

warning in component phocodownload

Posted: 24 Aug 2017, 13:04
by zjoskebest
Hello,
In the frontend of a joomla website I get a warning (see below)

Warning: A non-numeric value encountered in /home/vhosts/elnura.nl/httpdocs/components/com_phocadownload/views/category/view.html.php on line 264
I've looked at line 264 and I see no problem.

When I open the component phocodownload in the backend I see also a warning :
Warning: Illegal string offset 'name' in /home/vhosts/elnura.nl/httpdocs/administrator/components/com_phocadownload/libraries/phocadownload/utils/utils.php on line 38

Warning: Illegal string offset 'type' in /home/vhosts/elnura.nl/httpdocs/administrator/components/com_phocadownload/libraries/phocadownload/utils/utils.php on line 38

Warning: Illegal string offset 'creationDate' in /home/vhosts/elnura.nl/httpdocs/administrator/components/com_phocadownload/libraries/phocadownload/utils/utils.php on line 38

This warning differs from the frontend warning?? I am not good in PhP . Maybe somebody can help me
Thank you,
Jos

Re: warning in component phocodownload

Posted: 24 Aug 2017, 15:11
by Jan
Hi, which version of Phoca Download do you run? Which PHP version? If you run some newest PHP version (e.g. PHP7.1), just disable the displaying of development warnings in Global Configuration.
https://www.phoca.cz/documents/50-phoca ... tic-method

Jan

Re: warning in component phocodownload

Posted: 02 Oct 2017, 13:11
by Jan