Page 1 of 1

Call to undefined method Joomla\Filesystem\File::getExt()

Posted: 03 Jun 2025, 16:14
by WM-Loose
Hello Jan, hello Benno,

after Update from Phoca Gallery 5.0.3 to 5.1.1 we have a big problem.
When I click on images in the backend, this error appears:

Joomla 4.4.13
PHP 8.2
Phoca Gallery 5.1.1

Screenshot:
https://imgur.com/a/olLQweO

Happens in all Joomla 4.1.13 installations in our test installations and on our customers' production sites.

Re: Call to undefined method Joomla\Filesystem\File::getExt()

Posted: 03 Jun 2025, 17:02
by Benno
Hi,
confirmed! I have informed Jan.

Kind regards,
Benno

Re: Call to undefined method Joomla\Filesystem\File::getExt()

Posted: 03 Jun 2025, 17:03
by WM-Loose
Thank you Benno

Re: Call to undefined method Joomla\Filesystem\File::getExt()

Posted: 03 Jun 2025, 17:06
by Jan
Hallo, da waren Veränderungen wegen Joomla 6, und bei File und Folder Classes einige Methoden völlig sinnlos in Joomla Core entfernt wurden. So wenn Du Joomla 4 hast, dann ist es besser ein Downgrade auf 5.0.3 zu machen. Seit 5.1.0 ist Phoca Gallery auch für Joomla 6 vorbereitet.

So:
Joomla 4: Phoca Gallery bis zu 5.0.3 (besser auf Joomla 5 aktualisieren)
Joomla 5: Phoca Gallery 5.1.1 und neue Versionen
Joomla 6: Phoca Gallery 5.1.1 und neue Versionen

Re: Call to undefined method Joomla\Filesystem\File::getExt()

Posted: 03 Jun 2025, 17:16
by Benno
Hi,
PGv5.0.3 giebts hier:
https://github.com/PhocaCz/PhocaGallery ... v5.0.3.zip

Freundliche Grüße,
Benno

Re: Call to undefined method Joomla\Filesystem\File::getExt()

Posted: 03 Jun 2025, 18:33
by WM-Loose
Hat mit Downgrade auf 5.0.3 prima funktioniert. Einfach drüber installiert :twisted:
Vielen Dank an euch beide.

Re: Call to undefined method Joomla\Filesystem\File::getExt()

Posted: 03 Jun 2025, 18:53
by Jan
OK