A Database Error Occurred

Error Number: 1064

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 ') AND `rent_object`.`vip` = 1 AND `rent_object`.`vip_finish` >= '2024-03-28' O' at line 5

SELECT `rent_object`.`id`, `rent_object`.`obj_type`, `rent_object`.`name`, `rent_object`.`adress`, `rent_object`.`price`, `rent_object`.`currency`, `rent_object`.`specials`, `rent_object`.`main_foto`, `subdomains`.`hname` as sub_hname, `subdomains`.`name` as sub_name, `rent_object_types`.`name` as rent_type_name, `rent_object_types`.`url` as rent_type_url FROM (`rent_object`) JOIN `subdomains` ON `rent_object`.`subdomain_id` = `subdomains`.`id` JOIN `rent_object_types` ON `rent_object`.`obj_type` = `rent_object_types`.`id` WHERE `rent_object`.`subdomain_id` IN () AND `rent_object`.`vip` = 1 AND `rent_object`.`vip_finish` >= '2024-03-28' ORDER BY RAND()

Filename: /var/www/web/sites/citysn.com/models/sas_geo_model.php

Line Number: 133