blue-mouse
Member
Hi,
After try to install 3.1 fabrik version from Extension Manager - Install - i use pkg_fabrik_3.1.zip from Wiki (version 2014-02-10)
i get an error :
After this i can't open nothing in fabrik in Admin Panel and i can't open my page (front-site)
This is my test site on (on this moment) Joomla 2.5.18 and i had fabrik 3.09 (GitHub from 2014-02-24) - i try to actualize
1. to fabrik 3.1 ---> an error appear
2. to joomla 3.2
Please help how to solve this,
This mentioned 189 line is here:
It is line:
$content = FabrikString::replaceLast('</body>', $script . '</body>', $content);
What to do next?
After try to install 3.1 fabrik version from Extension Manager - Install - i use pkg_fabrik_3.1.zip from Wiki (version 2014-02-10)
i get an error :
Code:
Fatal error: Call to undefined method FabrikString::replaceLast() in /var/www/cc.joomla3/plugins/system/fabrik/fabrik.php on line 189
After this i can't open nothing in fabrik in Admin Panel and i can't open my page (front-site)
This is my test site on (on this moment) Joomla 2.5.18 and i had fabrik 3.09 (GitHub from 2014-02-24) - i try to actualize
1. to fabrik 3.1 ---> an error appear
2. to joomla 3.2
Please help how to solve this,
This mentioned 189 line is here:
Code:
public function onAfterRender()
{
// Could be component was unistalled but not the plugin
if (!class_exists('FabrikString'))
{
return;
}
$script = self::js();
$content = JResponse::getBody();
if (!stristr($content, '</body>'))
{
$content .= $script;
}
else
{
$content = FabrikString::replaceLast('</body>', $script . '</body>', $content);
}
JResponse::setBody($content);
}
/**
* Need to call this here otherwise you get class exists error
*
* @since 3.0
*
* @return void
*/
It is line:
$content = FabrikString::replaceLast('</body>', $script . '</body>', $content);
What to do next?