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 'ORDER BY `b_id` LIMIT 1' at line 4

SELECT `b`.* FROM `dc_blog` `b` WHERE `b`.`b_id` > ORDER BY `b_id` LIMIT 1

Filename: models/Front_Model.php

Line Number: 116