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

JSON Error Message Displayed in Kunena

Richard Moore · ·
1:10 AM Sunday, 28 December 2014
None
I'm getting this error message

Warning: json_decode() expects parameter 1 to be string, array given in /home/mysite/public_html/administrator/components/com_easysocial/includes/json/json.php on line 62


It's being displayed when I look any individual message on my Kunena forum. More specifically it appears in the user area to the left of the body text and above the avatar. Apart from that the forum seems to work fine so I'm thinking a problem between Kunena and ES.

ES code referenced is this

	public function decode( $data )
{
if( empty( $data ) )
{
return false;
}

$pattern = '#^\s*//.+$#m';
$data = preg_replace( $pattern , '' , $data );

$result = json_decode( $data );

return $result;
}


Line 11 (62)
The replies under this section are restricted to logged in users or users with an active subscription with us