LikeCMS Error

error while logging a database select

1  SQL logic error or missing database

last sql query:
INSERT INTO lsys_db_queries (ts,query,page_view_id,query_name)
VALUES (now(),'SELECT default_navigation.* FROM default_navigation LEFT JOIN default_sites ON WHERE
(position LIKE CONCAT(''0'',''-%'')
OR (position='''' AND ''0''=''0''))

AND IN (0,5,7,8,20,22,23,24,32,33,34,36)
AND tree=''1''
ORDER BY position','','nav_1_1')

If this is not the first time this error occurs, please send a mail to and describe the problem!
idea and programming by Sebastian Frank, Germany ( © 2006 )