Thanks for sarinhg. Always good to find a real expert.
lib/DbSession/SQL.php:97: Notice: Only variables should be assigned by reference