Page 1 of 1

Plugin error: Use of undefined constant DS - assumed 'DS'

Posted: 31 Jul 2019, 13:41
by mcanonic
Hi,
if I enabled the phoca download plugin I get these warning:
Warning: Use of undefined constant DS - assumed 'DS' (this will throw an Error in a future version of PHP) in /web/htdocs/www.rivaronesi.it/home/administrator/co ... loader.php on line 43

Warning: Use of undefined constant DS - assumed 'DS' (this will throw an Error in a future version of PHP) in /web/htdocs/www.rivaronesi.it/home/administrator/co ... loader.php on line 47

I have the last version of joomla and phocadownload plugin.

How can I fix it, please?
M

Re: Plugin error: Use of undefined constant DS - assumed 'DS'

Posted: 31 Jul 2019, 14:19
by christine
mcanonic wrote: 31 Jul 2019, 13:41
I have the last version of joomla and phocadownload plugin.
also PD component? https://www.phoca.cz/download/category/ ... -component as there is also a warning, concerning: Warning: count(): Parameter must be an array or an object that implements Countable in ....

Kind regards
Christine

Re: Plugin error: Use of undefined constant DS - assumed 'DS'

Posted: 31 Jul 2019, 14:42
by mcanonic
Where do I get the exact version number installed in my site? By using "Info" in the menu, I did not get a number. By clickin on "update" I have been redirected to a phoca webpage with "no extesion" written:
https://www.phoca.cz/version/index.php?phocadownload=
Thanks,
M

Re: Plugin error: Use of undefined constant DS - assumed 'DS'

Posted: 31 Jul 2019, 14:47
by mcanonic
ok, I have an old one.
BTW, by install Phocadownload from the web, it proposed me the 3.1.3 version, but it is not the last one.
Now I'll check the new version.
Thanks,
M

Re: Plugin error: Use of undefined constant DS - assumed 'DS'

Posted: 01 Aug 2019, 17:33
by Jan
Hi, yes, the latest is always here available:
https://www.phoca.cz/download/category/ ... -component

Jan