UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

Error with Album helper permissions check

Marc · ·
7:35 PM Thursday, 28 January 2016
High
We are getting an the following occasional error on some members profiles:

Notice: Undefined variable: theme in /var/www/kiwiklub.com/media/com_easysocial/apps/user/shares/helpers/albums.php on line 33

Fatal error: Call to a member function output() on null in /var/www/kiwiklub.com/media/com_easysocial/apps/user/shares/helpers/albums.php on line 33

On investigation, this error is related to the Album app and/or module, where the helper is trying to process this code:
		if( !$privacy->validate( 'albums.view' , $album->id, SOCIAL_TYPE_ALBUM , $album->uid ) )
{
$html = $theme->output( 'site/stream/restricted.text' );
return $html;
}


I have commented out the privacy check so that the site profiles remain functional, but its a bit concerning since I am by-passing a permissions check.
The replies under this section are restricted to logged in users or users with an active subscription with us