Re: Javascript error in topic-js.php whenever I go to a topic page
Trunk means the error has been fixed in the code repository but it hasn’t been packaged into a new release yet.
You can get the latest trunk code here:
https://trac.bbpress.org/changeset/1428/branches/0.9?old_path=%2F&format=zip
I have no idea if there are any problems with that release though. You only need one tiny fix for this problem.
Also, it seems like you have a lot of interesting things going on with your installation based on the number of threads posted here. I suspect there is more going on than just a couple tiny, unrelated problems. If you can afford to do it without losing any work, you might want to try a fresh installation and start from scratch.