Page 1 of 1

depreciated call

Posted: 04 Sep 2022, 16:48
by plamen
With errors reporting set to Maximum:
Deprecated: ucfirst(): Passing null to parameter #1 ($string) of type string is deprecated in E:\xampp\htdocs\Joomla3\components\com_phocagallery\phocagallery.php on line 58
Understand it is not an error, just a reminder.
So, I followed this advice and changed subject row to:

Code: Select all

$classname    = 'PhocaGalleryController'.ucfirst($controller ?? '');
Same note with Phoca Download component.
J4.2.2, PG 4.5.0, php 8.1.6
What do you think?

Re: depreciated call

Posted: 09 Sep 2022, 01:09
by Jan
Hi, thank you for the info, will be changed in next version of Phoca Download.

In Phoca Gallery, this was changed, try to test newest Beta:
https://github.com/PhocaCz/PhocaGallery ... 1Beta5.zip

Jan