Zachycena vyjímka - Error performing query SELECT r.mod__id as id, r.mod__nazev as nazev, r.mod__popis as popis, r.mod__specPromText as specPromText, r.mod__specProm as specProm, r.mod__obr_poloha as obr_poloha, r.mod__obr_vel as obr_vel, r.mod__owner as owner, r.mod__category as category, r.mod__datum as datum, r.mod__datum_upr as datum_upr, r.mod__level as level, r.mod__datum_end as datum_end, r.mod__datum_birth as datum_birth, r.mod__rating as rating, r.mod__relToCat as relToCat, r.mod__priority as priority, r.mod__poradi as poradi, r.mod__copyOf as copyOf, r.mod__lokalita as lokalita, r.mod__rec_email as rec_email, r.mod__odkaz as odkaz, r.mod__pocetZobrazeni as pocetZobrazeni, r.mod__visibility as visibility, r.mod__carovy_kod as carovy_kod, r.mod__vlozil as vlozil, r.mod__upravil as upravil, r.mod__numValue1 as numValue1, r.mod__numValue2 as numValue2, r.mod__numValue3 as numValue3, r.mod__lat as lat, r.mod__lng as lng, r.mod__visibleFor as visibleFor, r.mod__skupina as skupina from mod_ as r where mod__category like '#1##' and mod__level <= 0 and mod__id NOT IN (SELECT rec_id FROM pl_recRelTo where rec_mod=) order by mod__priority desc, mod__nazev asc Message : 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 ') order by mod__priority desc, mod__nazev asc' at line 1