This problem just popped up today on our UBB 7.22 installation:
When a board user try to access private messages, they get:
Parse error: syntax error, unexpected T_VARIABLE, expecting T_STRING in /home/readerra/public_html/scripts/viewmessage.inc.php on line 302
Only change to the server in last 24 hours has been enabling Mbstring. Could this be causing the problem?