"500 behavior::modal not found" error using Phoca Gallery Content Plugin on Joomla 4

Phoca Gallery - image gallery extension
webilicious
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 13 Apr 2022, 07:51

"500 behavior::modal not found" error using Phoca Gallery Content Plugin on Joomla 4

Post by webilicious »

Hi,

Thanks for all the hard work in upgrading Phoca Gallery to Joomla 4!

I have just migrated a Phoca Gallery website from Joomla 3.10.8 to Joomla 4.1.2 on PHP 7.4 and the latest Helix Ultimate template and have upgraded Phoca Gallery to v4.5.0 and the Phoca Gallery Content Plugin to v4.4.3.

This broke pages using the Phoca Gallery Content Plugin which display the following error: "500 behavior::modal not found".

I amended /public_html/plugins/content/phocagallery/phocagallery.php line 391 from this:

Code: Select all

JHtml::_('behavior.modal', 'a.pg-modal-button');
to this:

Code: Select all

JHtml::_('bootstrap.renderModal', 'a.pg-modal-button');
which allows the page to load but popups are not working properly.

I have tried all the Detail Views in the Phoca Gallery component settings but none seem to work.

I look forward to the next version of the content plugin.

Neil
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: "500 behavior::modal not found" error using Phoca Gallery Content Plugin on Joomla 4

Post by Jan »

Hi, Phoca Gallery plugin is not ready for Joomla 4, for now Phoca Photo plugin can be used:
https://www.phoca.cz/demo/phoca-photo-plugin-demo

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