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

Phoca Gallery - image gallery extension
User avatar
WM-Loose
Phoca Enthusiast
Phoca Enthusiast
Posts: 76
Joined: 22 Nov 2020, 11:43

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

Post 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.

Tags:
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9715
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

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

Post by Benno »

Hi,
confirmed! I have informed Jan.

Kind regards,
Benno
User avatar
WM-Loose
Phoca Enthusiast
Phoca Enthusiast
Posts: 76
Joined: 22 Nov 2020, 11:43

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

Post by WM-Loose »

Thank you Benno
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48783
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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
If you find Phoca extensions useful, please support the project
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9715
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

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

Post by Benno »

Hi,
PGv5.0.3 giebts hier:
https://github.com/PhocaCz/PhocaGallery ... v5.0.3.zip

Freundliche Grüße,
Benno
User avatar
WM-Loose
Phoca Enthusiast
Phoca Enthusiast
Posts: 76
Joined: 22 Nov 2020, 11:43

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

Post by WM-Loose »

Hat mit Downgrade auf 5.0.3 prima funktioniert. Einfach drüber installiert :twisted:
Vielen Dank an euch beide.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48783
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

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