I'm using the Phoca Gallery and Phoca Gallery Content Plugin on Joomla v1.5.25. Also installed K2 Component and K2 Tools module is used with the function LiveSearch.
In this case K2 sends AJAX GET request with a parameter '&format=raw'. As I understand it, Phoca Gallery Plugin does not have to handle the raw format, so it uses a method JDocumentHTML::addCustomTag(). That ends:
Fatal error: Call to undefined method JDocumentRAW::addCustomTag() in \plugins\content\phocagallery.php on line 1569.
I had to add code:
Code: Select all
if (JRequest::getCmd ('format')!='' && JRequest::getCmd('format')!='html') {
return false;
}
[Edit]
Versions:
- Phoca Gallery Plugin v2.7.7
- Phoca Gallery v2.8.0
- Joomla 1.5.25
- PHP 5.3.8
Regards, Konstantin Shkodskih.