Installed Kunena forum in joomla website. Following error occurred while clicking Profile in Kunena forum component !
Fatal error: Unsupported operand types in /home/irfan123/public_html/libraries/cms/router/router.php on line 192
// Process the parsed variables based on custom defined rules
$vars = $this->_processParseRules($uri);
// Parse RAW URL
if ($this->_mode == JROUTER_MODE_RAW)
{
$vars += $this->_parseRawRoute($uri);
}
// Parse SEF URL
if ($this->_mode == JROUTER_MODE_SEF)
{
$vars += $this->_parseSefRoute($uri); /* line 192 */
}
return array_merge($this->getVars(), $vars);
}
Warning: array_merge(): Argument #2 is not an array in /home/irfan123/public_html/libraries/cms/router/router.php on line 298
/**
* Set the router variable array
*
* @param array $vars An associative array with variables
* @param boolean $merge If True, the array will be merged instead of overwritten
*
* @return void
*
* @since 1.5
*/
public function setVars($vars = array(), $merge = true)
{
if ($merge)
{
$this->_vars = array_merge($this->_vars, $vars); /* line 298 */
}
else
{
$this->_vars = $vars;
}
}