JomSocial Hack for versions less than 2.2.4

JomSocial 2.2.4 & lesser versions have a bug ( this is fixed in 2.2.5 Beta) which needs us to patch a JomSocial file so that Broadcast can work correctly with JomSocial. Please follow the instructions below to apply the fix. 

  • The hack is to be done in file
  • Take backup of the file.
  •  Open the file and search for 'public function store()' 
  • Find the following code in it
    $params[]    = &$obj;
  • Replace it with the following
    /*start Added code by Techjoomla*/
    $params[] = &$this;
    /*end Added by Techjoomla*/