Page 1 of 1

compliance with php 7.4

Posted: 29 Sep 2020, 09:07
by Nono9
Since migration my php to 7.4, i have a message with phoca download about set date format :

Warning: Use of undefined constant DATE_FORMAT_LC3 - assumed 'DATE_FORMAT_LC3' (this will throw an Error in a future version of PHP) in /home/***/public_html/administrator/components/com_phocadownload/libraries/phocadownload/file/file.php on line 227

and i saw more websites with the same error.

What can i do ? Many thanks

Re: compliance with php 7.4

Posted: 29 Sep 2020, 14:03
by christine
Hi,

Usually PD works with PHP 7.4. As it's a Warning message only, you can disable it in the configuration.

Which Version of PHP 7.4 exactly are you using? See changelogs: https://www.php.net/ChangeLog-7.php#7.3.18

Thanks for your information, will forward it to Jan.

Kind regards
Christine

Re: compliance with php 7.4

Posted: 29 Sep 2020, 17:30
by Jan
Hi, thank you for the info, will be changed in next version.

Thank you, Jan

Re: compliance with php 7.4

Posted: 30 Sep 2020, 07:33
by Nono9
Thanks Christine

My version is 7.4.10 and runs on Linux server.

Re: compliance with php 7.4

Posted: 24 Oct 2020, 16:57
by Jan
Hi, should be OK in version 3.2.1:
https://www.phoca.cz/news/1098-phoca-do ... 1-released

Jan