not sure what you’ve done, but it will be as simple as a comma or ; missing somewhere
I’d suggest you
download a copy of bbpress to your PC
and then FTP the functions file to overwrite what you have messed up
Then nose around the files on your PC rather than your site !
Don’t worry I used to do what you’re doing until I did much the same, now I look at a copy not live !