PHP 8.1

Phoca Download - download manager
absillitoe
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 03 Nov 2016, 10:32

PHP 8.1

Post 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

Tags:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: PHP 8.1

Post 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
If you find Phoca extensions useful, please support the project
absillitoe
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 03 Nov 2016, 10:32

Re: PHP 8.1

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: PHP 8.1

Post 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
If you find Phoca extensions useful, please support the project
absillitoe
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 03 Nov 2016, 10:32

Re: PHP 8.1

Post by absillitoe »

Dear Jan,

Perfect. Thanks a lot,

Alan
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: PHP 8.1

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply