MySQL Error!
MySQL error in file: /engine/modules/infinitepost/classes/db.class.php at line 15
Error Number: 1064
The Error returned was:
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 '12) AND date < '2024-06-16 19:18:26' AND approve = 1 ORDER BY id DESC ' at line 4
SQL query:

SELECT id, alt_name, category, date FROM dle_post WHERE id < '1233476' AND category IN (,12) AND date < '2024-06-16 19:18:26' AND approve = 1 ORDER BY id DESC LIMIT 1