exception 'DibiDriverException' with message 'You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '5 AND price < 10002,5  AND district_id = '706'  AND region_id = '523381'  AND su' at line 1' in /var/www/clients/client0/web7/web/libs/dibi.php:851
Stack trace:
#0 /var/www/clients/client0/web7/web/libs/dibi.php(204): DibiMySqlDriver->query('SELECT * FROM o...')
#1 /var/www/clients/client0/web7/web/libs/dibi.php(188): DibiConnection->nativeQuery('SELECT * FROM o...')
#2 /var/www/clients/client0/web7/web/classes/nehnutelnostRE2/nehnutelnost.php(2286): DibiConnection->query('SELECT * FROM o...')
#3 /var/www/clients/client0/web7/web/classes/nehnutelnostRE2/nehnutelnost.php(3261): nehnutelnostRE2_nehnutelnost->related()
#4 /var/www/clients/client0/web7/web/websites2/maxareality.sk/extends/nehnutelnostExtend.php(36): nehnutelnostRE2_nehnutelnost->detail()
#5 /var/www/clients/client0/web7/web/libs/router.php(99): nehnutelnostExtend->index()
#6 /var/www/clients/client0/web7/web/index.php(95): include_once('/var/www/client...')
#7 {main}
SQL: SELECT * FROM objects WHERE rk_id IN (353) AND object_id != 22560 AND status IN(1,3)   AND action = '1'  AND category = '3'  AND price > -9997,5 AND price < 10002,5  AND district_id = '706'  AND region_id = '523381'  AND subcategory = '309'