I had the same trouble.. Not sure why, but I had made a post, using point forms and "" around some words, and got the error. when I replaced the " with ', the error went away.
Using XenForo 1.2.1, heavily modified, on debian, mysql5.0, php5, apache2, zend enabled, and not sure what else would...