I think that the
capabilities entry is wp’s capabilities entry. Does that refer to the member id you have when you publish a post?
There are duplicate topics made? That’s interesting. Can you check bb_topicmeta to see if it’s added anything there? It should have done.
The error in line 275 arises directly because of the error in line 271, so it can be ignored for now