Page 1 of 1

PHP 8.1

Posted: 27 Aug 2023, 16:58
by absillitoe
I have an error from the Phoca Gallery Tree module with PHP 8.1 and Joomla 4.3.4:

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /home/customer/www/france.upf.org/public_html/modules/mod_phocadownload_tree/mod_phocadownload_tree.php on line 40

Does that mean I have an old version of something installed?

Thanks,

Alan

Re: PHP 8.1

Posted: 28 Aug 2023, 16:05
by Jan
Hi, if you are using modern PHP, you should also use newest Phoca Gallery and Joomla:

- Joomla 4
- Phoca Gallery - version 4.5.4 https://www.phoca.cz/download/66-phoca- ... -component
- Phoca Gallery Tree module: version 4.5.1 https://www.phoca.cz/download/66-phoca- ... ree-module

Jan

Re: PHP 8.1

Posted: 31 Aug 2023, 11:16
by absillitoe
I'm very sorry, Jan. I made a stupid mistake in my writing. I meant the Phoca Download Tree module, for which the latest version is still 4.0.1, I believe.

Re: PHP 8.1

Posted: 04 Sep 2023, 14:00
by Jan
Hi, thank you for the info, try to download the version 4.0.2, it should be OK now:
https://www.phoca.cz/download/68-phoca- ... ree-module

Thank you, Jan

Re: PHP 8.1

Posted: 05 Sep 2023, 14:31
by absillitoe
Dear Jan,

Perfect. Thanks a lot,

Alan

Re: PHP 8.1

Posted: 08 Sep 2023, 00:27
by Jan
Ok