I updated to the latest version of JFBConnect today and now a few of my extensions are not working properly. RokSprocket will not load more results and K2 Filter and Search will not display the number of results when a box is checked.
The website is
www.vegassuitesource.com
When I check a box on the search page, I get the following error
Fatal error: Call to undefined method JDocumentRaw::addCustomTag() in /home6/onezerb6/public_html/vss/plugins/system/jfbcsystem/jfbcsystem.php on line 164
The search still works but it does not display the realtime results available.
If I comment out the lines below in jfbcsystem.php, everything goes back to working as normal.
// Called right before the page is rendered
public function onBeforeRender()
{
if (!JFactory::getApplication()->isAdmin())
{
if (JFactory::getUser()->authorise('jfbconnect.opengraph.debug', 'com_jfbconnect') && JFBCFactory::config()->get('facebook_display_errors'))
JFBCFactory::addStylesheet('jfbconnect.css');
JFactory::getDocument()->addCustomTag('<SourceCoastCSSPlaceholder />');
}
}
Any help would be great