MySQL Error!
MySQL error in file: /engine/modules/user-modules/nextprev.php at line 13
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 'AND date >= '2019-06-29 15:23:40' AND id != '5063' AND approve = '1' ORDER BY da' at line 1
SQL query:

SELECT id, date, category, alt_name, title FROM dle_post WHERE active > 0 and category in ( 2, 16, 18 ) and AND date >= '2019-06-29 15:23:40' AND id != '5063' AND approve = '1' ORDER BY date ASC LIMIT 1