It’s there! I’m looking at it right now. In the code you copied it is line 10.
The bb_posts table is what we’re looking for, not wp_posts (also a table), and it tells you the
databasename.tablename so it’s actually trying to look for a table called “posts”. I don’t think the
wpbb_prefix option exists in your tables, I suspect that’s a Latest Discussions plugin thing (ah, hindsight). If it did, it would read
. is used to join two strings together, so what it should be doing is joining
'posts' together into the table name
'bb_posts', but since that option doesn’t exist in your tables it just join together
'' (a blank) and
'posts', leaving us with the incorrect table name of just
'posts'. I suspect.