Joomla PHP 8.1.16 +. PHP 8.1.6 + PhocaGallery 4.5.6

Phoca Gallery - image gallery extension
digiloo
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 28 Oct 2022, 16:05

Joomla PHP 8.1.16 +. PHP 8.1.6 + PhocaGallery 4.5.6

Post by digiloo »

Hi,

I have the above stack installed and get the following error:

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /bitnami/joomla/administrator/components/com_phocagallery/libraries/phocagallery/text/text.php on line 116

Isn't PhocaGallery 4.5.6 adjusted for PHP 8.1.6?

The consequence of the above error/warning is that my image files not is found

Regards
Digiloo
digiloo
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 28 Oct 2022, 16:05

Re: Joomla 4.2.8 + PHP 8.1.16 +. PHP 8.1.6 + PhocaGallery 4.5.6

Post by digiloo »

Note: It should be Joomla 4.2.8 + PHP 8.1.16. Sorry
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47865
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Joomla PHP 8.1.16 +. PHP 8.1.6 + PhocaGallery 4.5.6

Post by Jan »

Hi, which Phoca Gallery do you use, the latest vesion is 4.5.2 (or development 4.5.3 Beta 4)

Do you get the same problem with latest Beta (4.5.3 Beta4): https://github.com/PhocaCz/PhocaGallery ... 3Beta4.zip
If you find Phoca extensions useful, please support the project
digiloo
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 28 Oct 2022, 16:05

Re: Joomla PHP 8.1.16 +. PHP 8.1.6 + PhocaGallery 4.5.6

Post by digiloo »

Thank you. Latest Beta didn't throw the same error.

/ Digiloo
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47865
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Joomla PHP 8.1.16 +. PHP 8.1.6 + PhocaGallery 4.5.6

Post by Jan »

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