Page 1 of 1

Joomla PHP 8.1.16 +. PHP 8.1.6 + PhocaGallery 4.5.6

Posted: 13 Mar 2023, 19:02
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

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

Posted: 13 Mar 2023, 19:08
by digiloo
Note: It should be Joomla 4.2.8 + PHP 8.1.16. Sorry

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

Posted: 13 Mar 2023, 23:03
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

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

Posted: 14 Mar 2023, 07:21
by digiloo
Thank you. Latest Beta didn't throw the same error.

/ Digiloo

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

Posted: 15 Mar 2023, 14:19
by Jan
Ok