Are you using xowiki + xotcl-core from cvs head? both require xotcl (version 1.4 or 1.5.*). Be sure, to follow
https://openacs.org/xowiki/en/xotcl-core for installing xotcl + xotcl-core. If you are upgrading xowiki/xotcl-core via cvs,
move the old packages/xowiki and packages/xotcl-core away and do a fresh co.
if you still see the message above, please give more details (verison numbers, query, etc.).
Should be easy to fix.
-gustaf neumann