Page 1 of 1

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

Posted: 13 Apr 2022, 10:26
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

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

Posted: 15 Apr 2022, 23:19
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

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

Posted: 16 Apr 2022, 00:24
by webilicious
Thank-you.