Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/content/j/a/s/jascamera/html/apgeeks.com/wp-content/plugins/bp-album/includes/bp-album-classes.php on line 220
Ok I tried EasyAlbums and got this error:
Parse error: syntax error, unexpected ‘{‘ in /home/content/j/a/s/jascamera/html/apgeeks.com/wp-content/plugins/buddypress-easy-albums-photos-video-and-music/includes/bp-easyalbums-core.php on line 259
There is a much simpler, elegant solution to this problem that does not involve messing with the core code.
Use a custom CSS plug-in so you can add your own CSS edits (you should have this anyways) and paste the following line:
#bp-adminbar-visitrandom-menu {display:none;}
I like this solution much better, maybe because I am not technical enough to do the function remove method.