Dibi\DriverException: 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/vendor/dibi/dibi/src/Dibi/Drivers/MySqliDriver.php:165
Stack trace:
#0 /var/www/clients/client0/web7/web/vendor/dibi/dibi/src/Dibi/Drivers/MySqliDriver.php(144): Dibi\Drivers\MySqliDriver::createException('You have an err...', 1064, 'SELECT * FROM o...')
#1 /var/www/clients/client0/web7/web/vendor/dibi/dibi/src/Dibi/Connection.php(285): Dibi\Drivers\MySqliDriver->query('SELECT * FROM o...')
#2 /var/www/clients/client0/web7/web/vendor/dibi/dibi/src/Dibi/Connection.php(209): Dibi\Connection->nativeQuery('SELECT * FROM o...')
#3 /var/www/clients/client0/web7/web/classes/nehnutelnostRE2/nehnutelnost.php(2286): Dibi\Connection->query('SELECT * FROM o...')
#4 /var/www/clients/client0/web7/web/classes/nehnutelnostRE2/nehnutelnost.php(3261): nehnutelnostRE2_nehnutelnost->related()
#5 /var/www/clients/client0/web7/web/websites2/maxareality.sk/extends/nehnutelnostExtend.php(36): nehnutelnostRE2_nehnutelnost->detail()
#6 /var/www/clients/client0/web7/web/libs/router.php(112): nehnutelnostExtend->index()
#7 /var/www/clients/client0/web7/web/index.php(100): include_once('/var/www/client...')
#8 {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'