After updating StackIdeas' EasyBlog component from version 5.0.44 to 5.1.5, the blog page on frontend returns "Error: 0 - Call to a member function set() on string"
I disabled some plugins and found when I disable Content - SEBLOD plugin the blog page works as expected.
public function onContentBeforeDisplay( $context, &$article, &$params, $limitstart = 0 )
{
if ( JCck::getConfig_Param( 'hide_edit_icon', 0 ) ) {
if (isset($article->params)) {
$article->params->set( 'access-edit', false );
}
}
return '';
}
public function onContentBeforeDisplay( $context, &$article, &$params, $limitstart = 0 )
{
if ( JCck::getConfig_Param( 'hide_edit_icon', 0 ) ) {
if (isset($article->params) && $article->params) {
$article->params->set( 'access-edit', false );
}
}
return '';
}
Is this a bug in this SEBLOD plugin? Will this hack break other SEBLOD functionality? This hack is the only solution I've found to make EasyBlog 5.1.5 work with SEBLOD 3.10.0.
StackIdeas suggested I pass this issue and possible solution on to you.