Page 1 of 1

Fatal Error on deleting ratings

Posted: 09 Aug 2022, 22:10
by Flake
Hi there!

I got an issue while deleting ratings of image- and/or category-ratings.

After submitting the delete-question I see...

while deleting a image-rating:
Fatal error: Declaration of & PhocaGalleryCpControllerPhocaGalleryRaImg::getModel($name = 'PhocaGalle...', $prefix = 'PhocaGalle...') must be compatible with Joomla\CMS\MVC\Controller\BaseController::getModel($name = '', $prefix = '', $config = []) in /users/tabletop/www/administrator/components/com_phocagallery/controllers/phocagalleryraimg.php on line 23

while deleting a cat-rating:
Fatal error: Declaration of & PhocaGalleryCpControllerPhocaGalleryRa::getModel($name = 'PhocaGalle...', $prefix = 'PhocaGalle...') must be compatible with Joomla\CMS\MVC\Controller\BaseController::getModel($name = '', $prefix = '', $config = []) in /users/tabletop/www/administrator/components/com_phocagallery/controllers/phocagalleryra.php on line 23


My Phoca Gallery version is: 4.5.0
My Joomla version is: Joomla! 4.1.5 Stable [ Kuamini ] 21-June-2022 14:00 GMT

Could anybody help me out?

Thanks and bye
Kay

Re: Fatal Error on deleting ratings

Posted: 10 Aug 2022, 00:02
by Jan
Hi, please test version 4.5.1Beta4, it should be OK there:
https://github.com/PhocaCz/PhocaGallery ... 1Beta4.zip

Thank you, jan

Re: Fatal Error on deleting ratings

Posted: 10 Aug 2022, 07:49
by Flake
Hi Jan!
Seems to be fixed! Thank you very much!

Kay

Re: Fatal Error on deleting ratings

Posted: 20 Aug 2022, 23:43
by Jan
Hi, thank you for the info.

Jan