File /var/www/louer_italie/system/core/super_model.php
Line 158

SQLSTATE[42000]: Syntax error or access violation: 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 '-6,6' at line 1

SELECT tal_location.* FROM tal_location INNER JOIN tal_region ON tal_region.id = tal_location.id_region INNER JOIN tal_pays ON tal_pays.id = tal_region.id_pays AND tal_pays.code = "IT" LEFT JOIN (SELECT MIN(price) AS prix, id_location, person FROM tal_price WHERE price != 0.00 AND price != "" AND year >= YEAR(CURDATE()) - 1 GROUP BY id_location) p ON p.id_location = tal_location.id INNER JOIN tal_location_type ON tal_location_type.id_location = tal_location.id AND (tal_location_type.id_type = 1) WHERE tal_location.actif = 1 AND p.prix IS NOT NULL AND id_province = 11 GROUP BY tal_location.id ORDER BY p.prix ASC, tal_location.title ASC LIMIT -6,6