Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.
i get several errors in JomSocial 3.2.1.4 with your changes in components/com_community/libraries/user.php
it cost me few hours to debug the issue :(
Line: 1000-1001
// trying to avoig ACL reset
$jUser->groups = null;
if i remove these two lines it works without any errors!
Error i get:
1. complete js component jumps down on index.php?option=com_community&view=friends&Itemid=113
2. error in easyblg --> invalid argument supplied for foreach() in /components/com_easyblog/helpers/helper.php on line 4521
3. Warning: array_key_exists() expects parameter 2 to be array, null given in /modules/mod_metamod/helper.php on line 578
Warning: array_key_exists() expects parameter 2 to be array, null given in /modules/mod_metamod/helper.php on line 579
Errors only go if i logout and start a new session!
I reported this to out developer. for now you can disable that code, if you don't have any issues related with joomla user groups.
we put that code, because there is some customers that reported in some reasons they joomla user groups revert back to default.