Exception Caught: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND (t.ID = p.TREEID)' at line 1
SELECT *, DATE_FORMAT(p.CHANGED,'%d.%m.%Y') AS CHANGEDF, t.LEVEL AS LEVEL FROM okt_site_1_properties as p, okt_site_1_tree as t WHERE (p.TREEID = 108 AND p.VERSION = ) AND (t.ID = p.TREEID)
#0 /srv/www/vhosts/mousonturm.de/httpdocs/neptun/org/ow/oktopus/pages.php(893): pages->cacheExecuteGetArray('SELECT *, DATE_...')
#1 /srv/www/vhosts/mousonturm.de/httpdocs/oktopus/pages/frontend_page.php(159): pages->getloginpage(108, NULL)
#2 /srv/www/vhosts/mousonturm.de/httpdocs/oktopus/oktopus.php(342): include_once('/srv/www/vhosts...')
#3 /srv/www/vhosts/mousonturm.de/httpdocs/neptun/neptun.php(443): require_once('/srv/www/vhosts...')
#4 /srv/www/vhosts/mousonturm.de/httpdocs/neptun/neptun.php(508): neptun->neptun()
#5 {main}