I get that error in the admin cp when searching for users, when trying to log in on the forum home, and on step 19 of the upgrade process.
I got this too when changing styles on the dropdown menu on forum home:
Invalid SQL: SELECT templatesetid,replacementsetid,userselect FROM style WHERE
styleid='2'
mysql error: Unknown column 'templatesetid' in 'field list'
mysql error number: 1054