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
warning in component phocodownload
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: warning in component phocodownload
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
https://www.phoca.cz/documents/50-phoca ... tic-method
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: warning in component phocodownload
Hi, should be OK in version 3.1.3
https://www.phoca.cz/news/952-phoca-dow ... 3-released
https://www.phoca.cz/news/952-phoca-dow ... 3-released
If you find Phoca extensions useful, please support the project